mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-05 15:30:00 +01:00
Fix previous commit
This commit is contained in:
@@ -487,7 +487,7 @@ void ImGuiVisitor::visit (Source& s)
|
||||
ImGui::SetCursorPos( ImVec2(preview_width + 20, pos.y + preview_height - ImGui::GetFrameHeightWithSpacing()) );
|
||||
static const char *tooltip[2] = {"Unlocked", "Locked"};
|
||||
bool l = s.locked();
|
||||
if (ImGuiToolkit::IconToggle(15,6,17,6, &l, tooltip ) ) {
|
||||
if (ImGuiToolkit::IconToggle(15, 6, 17, 6, &l, tooltip ) ) {
|
||||
s.setLocked(l);
|
||||
if (l) {
|
||||
Mixer::selection().clear();
|
||||
|
||||
@@ -3582,7 +3582,7 @@ void Navigator::RenderSourcePannel(Source *s, const ImVec2 &iconsize)
|
||||
ImGuiToolkit::ButtonDisabled( ICON_FA_SIGN_IN_ALT " Bundle", ImVec2((size.x - IMGUI_SAME_LINE)/2.f, 0));
|
||||
else if ( ImGui::Button( ICON_FA_SIGN_IN_ALT " Bundle", ImVec2((size.x - IMGUI_SAME_LINE)/2.f, 0)) ) {
|
||||
Mixer::manager().groupCurrent();
|
||||
UserInterface::manager().showPannel( Mixer::manager().numSource() );
|
||||
UserInterface::manager().showPannel( Mixer::manager().numSource() - 1 );
|
||||
}
|
||||
|
||||
// replace button
|
||||
|
||||
Reference in New Issue
Block a user