Skip to content

fix: stale scale factor#399

Open
RobertMueller2 wants to merge 1 commit intoSatty-org:mainfrom
RobertMueller2:fix_stale_scale_factor
Open

fix: stale scale factor#399
RobertMueller2 wants to merge 1 commit intoSatty-org:mainfrom
RobertMueller2:fix_stale_scale_factor

Conversation

@RobertMueller2
Copy link
Member

Closes: #293

When starting satty e.g. on a DPI scale factor = 1.6 screen and moving the window to a scale factor = 1.0 screen, the scale factor of femtovg area is stale for the first tool used.

This causes the first tool after window move to appear in a wrong position.

Fix this by adding an event handler for changed scale-factor.

Closes: Satty-org#293

When starting satty e.g. on a DPI scale factor = 1.6 screen and moving
the window to a scale factor = 1.0 screen, the scale factor of femtovg
area is stale for the first tool used.

This causes the first tool after window move to appear in a wrong
position.

Fix this by adding an event handler for changed scale-factor.
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.

Drawing first element has wrong position in multi monitor with different dpi-scaling

1 participant