Skip to content

A few fixes and performance tweaks#37

Merged
almarklein merged 4 commits into
mainfrom
fixes
Dec 9, 2020
Merged

A few fixes and performance tweaks#37
almarklein merged 4 commits into
mainfrom
fixes

Conversation

@almarklein

@almarklein almarklein commented Dec 9, 2020

Copy link
Copy Markdown
Collaborator
  • Due to a bug, the rate limiting did not happen for layout changes like zooming and panning.
  • Also made the rate limiting timeout larger for layout changes, because scroll zoom quickly feels jerky otherwise.
  • Fix the sometimes weird initialization by preventing initial calls for one callback.
  • When the image is larger in one dimension than in another, the thumbnails would be small in the smaller dimension. Changed so that the given size means the minimal size.
  • Also fixed a bug that the stored thumbnail size would sometimes be wrong.
  • Renamed lowres to thumbnail, because it can also contain fullres data.

@almarklein
almarklein merged commit db3b221 into main Dec 9, 2020
@almarklein
almarklein deleted the fixes branch December 9, 2020 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant