mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
fixed selection slider behaviour
This commit is contained in:
parent
346be7e67d
commit
b2e5c3c897
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue