Skip to content

Commit

Permalink
fix: remove repaint() calling from component
Browse files Browse the repository at this point in the history
  • Loading branch information
zsliu98 committed Sep 16, 2023
1 parent 66af8bb commit 9c47332
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ compile_commands.json
CTestTestfile.cmake
_deps
**/.DS_Store
./VERSION

# It's nice to have the Builds folder exist, to remind us where it is
Builds/*
Expand Down
1 change: 0 additions & 1 deletion Source/GUI/button_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ namespace zlinterface {
void setEditable(bool f) {
myLookAndFeel.setEditable(f);
nameLookAndFeel.setEditable(f);
repaint();
}

private:
Expand Down
1 change: 0 additions & 1 deletion Source/GUI/combobox_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ namespace zlinterface {
void setEditable(bool f) {
myLookAndFeel.setEditable(f);
nameLookAndFeel.setEditable(f);
repaint();
}

private:
Expand Down
1 change: 0 additions & 1 deletion Source/GUI/linear_slider_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ namespace zlinterface {
void setEditable(bool f) {
myLookAndFeel.setEditable(f);
nameLookAndFeel.setEditable(f);
repaint();
}

private:
Expand Down
1 change: 0 additions & 1 deletion Source/GUI/rotary_slider_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ namespace zlinterface {
void setEditable(bool f) {
myLookAndFeel.setEditable(f);
nameLookAndFeel.setEditable(f);
repaint();
}

private:
Expand Down

0 comments on commit 9c47332

Please sign in to comment.