Mercurial > hg > sonic-visualiser
diff main/OSCHandler.cpp @ 2339:1e77e4ee27f5 time-frequency-boxes
Update to new PaneStack options API
author | Chris Cannam |
---|---|
date | Fri, 04 Oct 2019 16:05:08 +0100 |
parents | eb7f4579e5cc |
children | efbf5ecb76b6 |
line wrap: on
line diff
--- a/main/OSCHandler.cpp Fri Oct 04 16:04:55 2019 +0100 +++ b/main/OSCHandler.cpp Fri Oct 04 16:05:08 2019 +0100 @@ -426,7 +426,8 @@ m_viewManager->setZoomWheelsEnabled(value > 0.5); } else if (property == "propertyboxes") { bool toggle = ((value < 0.5) != - (m_paneStack->getLayoutStyle() == PaneStack::NoPropertyStacks)); + (m_paneStack->getLayoutStyle() == + PaneStack::HiddenPropertyStacksLayout)); if (toggle) togglePropertyBoxes(); }