1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

better selection feel

This commit is contained in:
Nikolay Pultsin 2015-06-11 20:52:00 +01:00
parent d1b9e2e769
commit b4c0767afe

View file

@ -159,7 +159,7 @@ public final class FBView extends ZLTextView {
return true;
}
final SelectionCursor.Which cursor = findSelectionCursor(x, y, maxSelectionDistance());
final SelectionCursor.Which cursor = findSelectionCursor(x, y, ZLibrary.Instance().getDisplayDPI() / 4);
if (cursor != null) {
myReader.runAction(ActionCode.SELECTION_HIDE_PANEL);
moveSelectionCursorTo(cursor, x, y);