Update ViewTransform.cs

This commit is contained in:
ClemensFischer 2026-01-09 07:03:53 +01:00
parent 6fd637af1e
commit c187f323a8

View file

@ -125,6 +125,18 @@ namespace MapControl
y = y * transform.M22 + transform.OffsetY;
width *= transform.M11;
height *= transform.M22;
if (width < 0d)
{
width = -width;
x -= width;
}
if (height < 0d)
{
height = -height;
y -= height;
}
}
else
{