android: fix sending graphic selection type to LOKitThread

Change-Id: I42a23f3867acb9632cc94d84e2a4267415e908bc
This commit is contained in:
Tomaž Vajngerl
2015-03-31 12:17:40 +09:00
committed by Miklos Vajna
parent 2aa1435c0f
commit 812970c785

View File

@@ -230,7 +230,7 @@ public class GraphicSelection implements CanvasElement {
// Position is in screen coordinates. We need to convert them to
// document coordinates.
PointF documentPoint = layerView.getLayerClient().convertViewPointToLayerPoint(screenPosition);
LOKitShell.sendTouchEvent("GraphicSelectionEnd", documentPoint);
LOKitShell.sendTouchEvent(type, documentPoint);
}
}