GUI: tap to change order in order bar
This commit is contained in:
parent
fa564dbe78
commit
704863533f
3 changed files with 12 additions and 1 deletions
|
|
@ -81,7 +81,9 @@ void FurnaceGUI::drawMobileOrderSel() {
|
|||
}
|
||||
if (ImGui::IsItemClicked()) {
|
||||
orderScrollSlideOrigin=ImGui::GetMousePos().x+orderScroll*40.0f*dpiScale;
|
||||
orderScrollRealOrigin=ImGui::GetMousePos();
|
||||
orderScrollLocked=true;
|
||||
orderScrollTolerance=true;
|
||||
}
|
||||
}
|
||||
ImGui::End();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue