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:
parent
39cd0ef532
commit
ba50a35364
4 changed files with 0 additions and 5 deletions
|
|
@ -371,7 +371,6 @@ void FileBrowserComponent::lookAndFeelChanged()
|
|||
filenameBox.applyColourToAllText (findColour (filenameBoxTextColourId));
|
||||
|
||||
resized();
|
||||
repaint();
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -402,8 +402,6 @@ void ComboBox::parentHierarchyChanged()
|
|||
|
||||
void ComboBox::lookAndFeelChanged()
|
||||
{
|
||||
repaint();
|
||||
|
||||
{
|
||||
std::unique_ptr<Label> newLabel (getLookAndFeel().createComboBoxTextBox (*this));
|
||||
jassert (newLabel != nullptr);
|
||||
|
|
|
|||
|
|
@ -1122,7 +1122,6 @@ void TextEditor::lookAndFeelChanged()
|
|||
{
|
||||
caret.reset();
|
||||
recreateCaret();
|
||||
repaint();
|
||||
}
|
||||
|
||||
void TextEditor::parentHierarchyChanged()
|
||||
|
|
|
|||
|
|
@ -99,7 +99,6 @@ int CallOutBox::getBorderSize() const noexcept
|
|||
void CallOutBox::lookAndFeelChanged()
|
||||
{
|
||||
resized();
|
||||
repaint();
|
||||
}
|
||||
|
||||
void CallOutBox::paint (Graphics& g)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue