1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 19:42:17 +02:00

fixed selection slider behaviour

This commit is contained in:
Nikolay Pultsin 2015-04-25 05:42:09 +01:00
parent 346be7e67d
commit b2e5c3c897
2 changed files with 4 additions and 1 deletions

View file

@ -4,6 +4,9 @@
* (planned) Fixed authors list/tags list editing
* (planned) CSS selectors priority
===== 2.4.1 (Apr ??, 2015) =====
* Fixed selection slider behaviour
===== 2.4 (Apr 25, 2015) =====
* Updated bookmarks list view
* Uses last style id to create new bookmarks

View file

@ -328,7 +328,7 @@ public abstract class ZLTextView extends ZLTextViewBase {
}
protected void moveSelectionCursorTo(ZLTextSelectionCursor cursor, int x, int y) {
y -= getTextStyleCollection().getBaseStyle().getFontSize() / 2;
y -= ZLTextSelectionCursor.getHeight() / 2 + ZLTextSelectionCursor.getAccent() / 2;
mySelection.setCursorInMovement(cursor, x, y);
mySelection.expandTo(myCurrentPage, x, y);
Application.getViewWidget().reset();