mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19: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);
|
final ZLTextElementRegion region = findRegion(x, y, 10, ZLTextHyperlinkRegion.Filter);
|
||||||
if (region != null) {
|
if (region != null) {
|
||||||
selectRegion(region);
|
selectRegion(region);
|
||||||
|
@ -101,13 +108,6 @@ public final class FBView extends ZLTextView {
|
||||||
return true;
|
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();
|
final ScrollingPreferences preferences = ScrollingPreferences.Instance();
|
||||||
if (preferences.FlickOption.getValue()) {
|
if (preferences.FlickOption.getValue()) {
|
||||||
myStartX = x;
|
myStartX = x;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue