Skip to content

Commit 186371b

Browse files
rladucamsftbot[bot]
authored andcommitted
Modified transform combining mode for hit testing with geometry (#2103)
1 parent 066f116 commit 186371b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/HitTestWithGeometryDrawingContextWalker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public override void PushTransform(
276276
else if ((_currentTransform != null) && !_currentTransform.IsIdentity)
277277
{
278278
// Both the current transform and the new one are nontrivial, combine them
279-
Matrix combined = _currentTransform.Value * transform.Value;
279+
Matrix combined = transform.Value * _currentTransform.Value;
280280
transform = new MatrixTransform(combined);
281281
}
282282

0 commit comments

Comments
 (0)