mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
action order has been changed
This commit is contained in:
parent
16c0ebf9b1
commit
cd3225a8dc
1 changed files with 7 additions and 7 deletions
|
@ -93,6 +93,13 @@ public final class FBView extends ZLTextView {
|
|||
}
|
||||
}
|
||||
|
||||
if (myReader.AllowScreenBrightnessAdjustmentOption.getValue() && x < myContext.getWidth() / 10) {
|
||||
myIsBrightnessAdjustmentInProgress = true;
|
||||
myStartY = y;
|
||||
myStartBrightness = ZLibrary.Instance().getScreenBrightness();
|
||||
return true;
|
||||
}
|
||||
|
||||
final ZLTextElementRegion region = findRegion(x, y, 10, ZLTextHyperlinkRegion.Filter);
|
||||
if (region != null) {
|
||||
selectRegion(region);
|
||||
|
@ -101,13 +108,6 @@ public final class FBView extends ZLTextView {
|
|||
return true;
|
||||
}
|
||||
|
||||
if (myReader.AllowScreenBrightnessAdjustmentOption.getValue() && x < myContext.getWidth() / 10) {
|
||||
myIsBrightnessAdjustmentInProgress = true;
|
||||
myStartY = y;
|
||||
myStartBrightness = ZLibrary.Instance().getScreenBrightness();
|
||||
return true;
|
||||
}
|
||||
|
||||
final ScrollingPreferences preferences = ScrollingPreferences.Instance();
|
||||
if (preferences.FlickOption.getValue()) {
|
||||
myStartX = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue