Fix previous commit

This commit is contained in:
Bruno Herbelin
2025-01-02 00:00:33 +01:00
parent 40d3f83719
commit 0bf89c18f9
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -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