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

action order has been changed

This commit is contained in:
Nikolay Pultsin 2011-01-01 16:31:21 +00:00
parent 16c0ebf9b1
commit cd3225a8dc

View file

@ -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;