mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Only load Touch Bar images once
This commit is contained in:
parent
17a60f4e3d
commit
df9c25692d
@ -167,7 +167,9 @@ public class EditorToolbar extends JComponent implements MouseInputListener, Key
|
||||
}
|
||||
|
||||
private void buildTouchBar() {
|
||||
loadTouchBarImages();
|
||||
if (touchBarImages == null) {
|
||||
loadTouchBarImages();
|
||||
}
|
||||
|
||||
touchBar = new JTouchBar();
|
||||
touchBarButtons = new TouchBarButton[BUTTON_COUNT];
|
||||
|
Loading…
Reference in New Issue
Block a user