mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 23:40:02 +01:00
Improved behavior after source drop or creation (show mixing view with
highlight on new source)
This commit is contained in:
@@ -935,13 +935,14 @@ void UserInterface::RenderShaderEditor()
|
||||
}
|
||||
|
||||
|
||||
void UserInterface::showPannel()
|
||||
void UserInterface::showPannel(int id)
|
||||
{
|
||||
int s = Mixer::manager().indexCurrentSource();
|
||||
if (s > -1)
|
||||
navigator.showPannelSource(s);
|
||||
else
|
||||
if (id == NAV_MENU)
|
||||
navigator.togglePannelMenu();
|
||||
else if (id == NAV_NEW)
|
||||
navigator.togglePannelNew();
|
||||
else
|
||||
navigator.showPannelSource(id);
|
||||
}
|
||||
|
||||
Navigator::Navigator()
|
||||
|
||||
Reference in New Issue
Block a user