GUI: fix mobile pattern
but now it's impossible to select
This commit is contained in:
parent
d3dedd020f
commit
018d8379e6
|
@ -2928,6 +2928,7 @@ void FurnaceGUI::pointUp(int x, int y, int button) {
|
||||||
if (selecting) {
|
if (selecting) {
|
||||||
if (!selectingFull) cursor=selEnd;
|
if (!selectingFull) cursor=selEnd;
|
||||||
finishSelection();
|
finishSelection();
|
||||||
|
if (!mobileUI) {
|
||||||
demandScrollX=true;
|
demandScrollX=true;
|
||||||
if (cursor.xCoarse==selStart.xCoarse && cursor.xFine==selStart.xFine && cursor.y==selStart.y &&
|
if (cursor.xCoarse==selStart.xCoarse && cursor.xFine==selStart.xFine && cursor.y==selStart.y &&
|
||||||
cursor.xCoarse==selEnd.xCoarse && cursor.xFine==selEnd.xFine && cursor.y==selEnd.y) {
|
cursor.xCoarse==selEnd.xCoarse && cursor.xFine==selEnd.xFine && cursor.y==selEnd.y) {
|
||||||
|
@ -2936,6 +2937,7 @@ void FurnaceGUI::pointUp(int x, int y, int button) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void FurnaceGUI::pointMotion(int x, int y, int xrel, int yrel) {
|
void FurnaceGUI::pointMotion(int x, int y, int xrel, int yrel) {
|
||||||
|
|
Loading…
Reference in New Issue