You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if IgnorePixelScaling = true, the e.Location on Android will return a error numerical value.
the X and Y will increase at the same time if finger move down to the bottom of the screen.
but move the finger to the right of the screen, the X and Y will not increase.
Code
IgnorePixelScaling = true; in Constructor and protected override void OnTouch(SKTouchEventArgs e) { base.OnTouch(e); e.Handled = true; Debug.WriteLine(e.Location); }
Actual Behavior
X increase in finger move to the right of the screen and Y increase in finger move to bottom of the screen.
if IgnorePixelScaling = false the behavior is right.
Basic Information
Version with issue: 1.60.2
IDE: Visual Studio
Platform Target Frameworks:
Android: 8.1
Target Devices:
Android 6.0 simulator and android 7.1 real machine
The text was updated successfully, but these errors were encountered:
@j4587698, That looks like the correct fix. Do you want to submit a PR? You should just need to sign the CLA (after opening the PR) and then you will get your name up in lights ;)
Description
if IgnorePixelScaling = true, the e.Location on Android will return a error numerical value.
the X and Y will increase at the same time if finger move down to the bottom of the screen.
but move the finger to the right of the screen, the X and Y will not increase.
Code
IgnorePixelScaling = true;
in Constructor andprotected override void OnTouch(SKTouchEventArgs e) { base.OnTouch(e); e.Handled = true; Debug.WriteLine(e.Location); }
Actual Behavior
X increase in finger move to the right of the screen and Y increase in finger move to bottom of the screen.
if IgnorePixelScaling = false the behavior is right.
Basic Information
The text was updated successfully, but these errors were encountered: