GUI: fix piano allowing you to scroll on mobile
This commit is contained in:
parent
3b0ef7c096
commit
8eecdd4b93
4 changed files with 20 additions and 15 deletions
|
|
@ -222,6 +222,7 @@ void FurnaceGUI::drawPiano() {
|
|||
bool canInput=false;
|
||||
if (ImGui::ItemHoverable(rect,ImGui::GetID("pianoDisplay"))) {
|
||||
canInput=true;
|
||||
ImGui::InhibitInertialScroll();
|
||||
}
|
||||
if (view) {
|
||||
int notes=oct*12;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue