Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DockChanged not detected when discplay scaling at 100% #42

Open
ArmandBernard opened this issue Aug 8, 2020 · 0 comments
Open

DockChanged not detected when discplay scaling at 100% #42

ArmandBernard opened this issue Aug 8, 2020 · 0 comments

Comments

@ArmandBernard
Copy link

Hi,

I didn't know why AeroSnapping was not detected for me (the event didn't trigger), after some trial and error I found that
mTransformToDevice was always equal to Identity (default) so the code never made it past the line

if (mTransformToDevice == default(Matrix)) return;

in Window_SizeChanged.

This is because I have my Windows Scaling at 100%.

Removing this line caused me no issues and my windows Aero snapping now properly removes the border styling.

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

No branches or pull requests

1 participant