1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Widgets: stop calling repaint in lookAndFeelChanged()

- A repaint will always occur from a lookAndFeelChanged
This commit is contained in:
Anthony Nicholls 2023-03-21 16:16:04 +00:00
parent 39cd0ef532
commit ba50a35364
4 changed files with 0 additions and 5 deletions

View file

@ -371,7 +371,6 @@ void FileBrowserComponent::lookAndFeelChanged()
filenameBox.applyColourToAllText (findColour (filenameBoxTextColourId));
resized();
repaint();
}
//==============================================================================

View file

@ -402,8 +402,6 @@ void ComboBox::parentHierarchyChanged()
void ComboBox::lookAndFeelChanged()
{
repaint();
{
std::unique_ptr<Label> newLabel (getLookAndFeel().createComboBoxTextBox (*this));
jassert (newLabel != nullptr);

View file

@ -1122,7 +1122,6 @@ void TextEditor::lookAndFeelChanged()
{
caret.reset();
recreateCaret();
repaint();
}
void TextEditor::parentHierarchyChanged()

View file

@ -99,7 +99,6 @@ int CallOutBox::getBorderSize() const noexcept
void CallOutBox::lookAndFeelChanged()
{
resized();
repaint();
}
void CallOutBox::paint (Graphics& g)