Mercurial > hg > sonic-visualiser
comparison main/OSCHandler.cpp @ 2342:175ece418988
Merge from branch time-frequency-boxes
author | Chris Cannam |
---|---|
date | Mon, 07 Oct 2019 09:36:11 +0100 |
parents | 1e77e4ee27f5 |
children | efbf5ecb76b6 |
comparison
equal
deleted
inserted
replaced
2341:f670b7653f8e | 2342:175ece418988 |
---|---|
424 } | 424 } |
425 } else if (property == "zoomwheels") { | 425 } else if (property == "zoomwheels") { |
426 m_viewManager->setZoomWheelsEnabled(value > 0.5); | 426 m_viewManager->setZoomWheelsEnabled(value > 0.5); |
427 } else if (property == "propertyboxes") { | 427 } else if (property == "propertyboxes") { |
428 bool toggle = ((value < 0.5) != | 428 bool toggle = ((value < 0.5) != |
429 (m_paneStack->getLayoutStyle() == PaneStack::NoPropertyStacks)); | 429 (m_paneStack->getLayoutStyle() == |
430 PaneStack::HiddenPropertyStacksLayout)); | |
430 if (toggle) togglePropertyBoxes(); | 431 if (toggle) togglePropertyBoxes(); |
431 } | 432 } |
432 | 433 |
433 } else { | 434 } else { |
434 PropertyContainer *container = nullptr; | 435 PropertyContainer *container = nullptr; |