Skip to content

Commit

Permalink
Fixed right rotation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukamicoder committed Aug 21, 2014
1 parent 45a8edc commit c583ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MoonPdfLib/MoonPdfPanel.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public void GotoLastPage()

public void RotateRight()
{
if ((int)this.Rotation < Enum.GetValues(typeof(ImageRotation)).Length)
if (this.Rotation != ImageRotation.Rotate270)
this.Rotation = (ImageRotation)this.Rotation + 1;
else
this.Rotation = ImageRotation.None;
Expand Down

0 comments on commit c583ba8

Please sign in to comment.