fasetto-word
fasetto-word copied to clipboard
DockChanged not detected when discplay scaling at 100%
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.