Skip to content

Conversation

@gujjwal00
Copy link
Contributor

@gujjwal00 gujjwal00 commented Jul 3, 2020

This PR refactors scaling implementation to remove duplicate code and redundant checks.

Changes to current behavior:

  • Zoom level now appears once at the start of VNC session. This is just a by-product of refactoring. I can remove this if it is unwanted Reverted because I don't like this.
  • Now, continuous rendering mode is not used during scaling. I don't think it affects the smoothness of scaling because frame needs to be redrawn only after scale has changed and frame rendering is done on background thread. But correct me if I am wrong here.

E: As mentioned in #59 , this is optional refactoring and not a requirement for that.

@bk138 bk138 merged commit 4a3b3ad into bk138:master Sep 16, 2020
@gujjwal00 gujjwal00 deleted the scaling-cleanup branch April 3, 2022 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants