GUI: even more piano work
- don't allow piano window to be moved if clicking on piano - only treat left click as a touch point
This commit is contained in:
parent
cfa05143ab
commit
255fc4cc25
2 changed files with 3 additions and 0 deletions
|
|
@ -209,6 +209,7 @@ void FurnaceGUI::drawPiano() {
|
|||
// render piano
|
||||
//ImGui::ItemSize(size,ImGui::GetStyle().FramePadding.y);
|
||||
if (ImGui::ItemAdd(rect,ImGui::GetID("pianoDisplay"))) {
|
||||
ImGui::ItemHoverable(rect,ImGui::GetID("pianoDisplay"));
|
||||
if (view) {
|
||||
int notes=oct*12;
|
||||
// evaluate input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue