Skip to content

Commit

Permalink
Fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed Dec 17, 2024
1 parent 6271847 commit 29eeb7b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dev/DevWinUI.Controls/Controls/FlipSide/FlipSide.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,14 @@ private void OnIsFlippedChanged()
}
else
{
s1Visual.RotationAngleInDegrees = f1;
s2Visual.RotationAngleInDegrees = f2;
if (s1Visual != null)
{
s1Visual.RotationAngleInDegrees = f1;
}
if (s2Visual != null)
{
s2Visual.RotationAngleInDegrees = f2;
}
}
}

Expand Down

0 comments on commit 29eeb7b

Please sign in to comment.