android: fix sending graphic selection type to LOKitThread
Change-Id: I42a23f3867acb9632cc94d84e2a4267415e908bc
This commit is contained in:
committed by
Miklos Vajna
parent
2aa1435c0f
commit
812970c785
@@ -230,7 +230,7 @@ public class GraphicSelection implements CanvasElement {
|
|||||||
// Position is in screen coordinates. We need to convert them to
|
// Position is in screen coordinates. We need to convert them to
|
||||||
// document coordinates.
|
// document coordinates.
|
||||||
PointF documentPoint = layerView.getLayerClient().convertViewPointToLayerPoint(screenPosition);
|
PointF documentPoint = layerView.getLayerClient().convertViewPointToLayerPoint(screenPosition);
|
||||||
LOKitShell.sendTouchEvent("GraphicSelectionEnd", documentPoint);
|
LOKitShell.sendTouchEvent(type, documentPoint);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user