mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +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() {
|
||||
if (touchBarImages == null) {
|
||||
loadTouchBarImages();
|
||||
}
|
||||
|
||||
touchBar = new JTouchBar();
|
||||
touchBarButtons = new TouchBarButton[BUTTON_COUNT];
|
||||
|
Loading…
Reference in New Issue
Block a user