curvepanel: reconfigured to be a spawnable child of NodeParamView

This commit is contained in:
itsmattkc
2020-04-27 00:04:07 +10:00
parent 53ae25a7cb
commit 9c4999cfae
16 changed files with 208 additions and 65 deletions
+4 -1
View File
@@ -144,7 +144,10 @@ void PanelManager::FocusChanged(QWidget *old, QWidget *now)
void PanelManager::SetPanelsLocked(bool locked)
{
foreach (PanelWidget* panel, focus_history_) {
panel->SetMovementLocked(locked);
// Only affect panels actually in our layout
if (!panel->isFloating()) {
panel->SetMovementLocked(locked);
}
}
locked_ = locked;