mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Allow customization
This commit is contained in:
parent
d4d7062391
commit
17a60f4e3d
@ -187,7 +187,10 @@ public class EditorToolbar extends JComponent implements MouseInputListener, Key
|
||||
touchBarButtons[i].setImage(touchBarImages[i][ROLLOVER]);
|
||||
touchBarButtons[i].setAction(event -> handleSelectionPressed(selection));
|
||||
|
||||
touchBar.addItem(new TouchBarItem(title[i], touchBarButtons[i]));
|
||||
TouchBarItem touchBarItem = new TouchBarItem(title[i], touchBarButtons[i], true);
|
||||
touchBarItem.setCustomizationLabel(title[i]);
|
||||
|
||||
touchBar.addItem(touchBarItem);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user