1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 02:09:35 +02:00
This commit is contained in:
Nikolay Pultsin 2015-06-21 14:15:15 +01:00
parent 7539f8f251
commit 6dfab6a873

View file

@ -377,7 +377,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
private float distance2ToCursor(int x, int y, SelectionCursor.Which which) { private float distance2ToCursor(int x, int y, SelectionCursor.Which which) {
final ZLTextSelection.Point point = getSelectionCursorPoint(myCurrentPage, which); final ZLTextSelection.Point point = getSelectionCursorPoint(myCurrentPage, which);
if (point == null) { if (point == null) {
return Floor.MAX_VALUE; return Float.MAX_VALUE;
} }
final float dX = x - point.X; final float dX = x - point.X;
final float dY = y - point.Y; final float dY = y - point.Y;