GUI: tap to change order in order bar

This commit is contained in:
tildearrow 2022-11-30 17:37:48 -05:00
parent fa564dbe78
commit 704863533f
3 changed files with 12 additions and 1 deletions

View file

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