Skip to content

Commit

Permalink
fix #581 Android and Tizen Location.Y error
Browse files Browse the repository at this point in the history
  • Loading branch information
j4587698 committed Jul 24, 2018
1 parent f050094 commit 0694d30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ private SKPoint GetScaledCoord(double x, double y)
{
#if __ANDROID__
x = Context.FromPixels(x);
x = Context.FromPixels(y);
y = Context.FromPixels(y);
#elif TIZEN4_0
x = Tizen.ScalingInfo.FromPixel(x);
x = Tizen.ScalingInfo.FromPixel(y);
y = Tizen.ScalingInfo.FromPixel(y);
#elif __IOS__ || __MACOS__ || WINDOWS_UWP
// Tizen and Android are the reverse of the other platforms
#else
Expand Down

0 comments on commit 0694d30

Please sign in to comment.