Skip to content

Commit a9de8d8

Browse files
isnotinvainffAudio
authored andcommitted
Fix changes to decorator settings that effect layout not updating the WYSIWYG view
1 parent 7a7bb73 commit a9de8d8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

modules/foleys_gui_magic/Layout/foleys_GuiItem.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ void GuiItem::updateInternal()
104104

105105
setEditMode (magicBuilder.isEditModeOn());
106106

107+
// we need to call resized() because changes to decorators can cause *internal* layout changes
108+
// and JUCE's setBounds() method thinks we don't need to do that because the outer bounds didn't change
109+
resized();
107110
repaint();
108111
}
109112

0 commit comments

Comments
 (0)