fasetto-word icon indicating copy to clipboard operation
fasetto-word copied to clipboard

DockChanged not detected when discplay scaling at 100%

Open ArmandBernard opened this issue 4 years ago • 0 comments

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.

ArmandBernard avatar Aug 08 '20 17:08 ArmandBernard