Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Mar 16, 2020
1 parent 4df52fb commit dbc6fc0
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions ZXing.Net.Mobile.Forms/ZXingScannerViewRenderer.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ protected override void OnElementPropertyChanged(object sender, PropertyChangedE
break;
}
}
volatile bool isHandlingTouch = false;

volatile bool isHandlingTouch = false;

public override bool OnTouchEvent(MotionEvent e)
{
Expand All @@ -127,10 +127,7 @@ public override bool OnTouchEvent(MotionEvent e)
var y = e.GetY();

if (Control != null)
{
Control.AutoFocusAsync((int)x, (int)y);
Logger.Info($"Touch: x={x}, y={y}");
}
Control.AutoFocus((int)x, (int)y);
}
finally
{
Expand Down

0 comments on commit dbc6fc0

Please sign in to comment.