Update darklaf to fix button positioning

This is from a custom build of darklaf where I removed the 20 offset from shadowSize (see https://github.com/weisJ/darklaf/issues/347)
This commit is contained in:
SiboVG 2023-07-17 01:05:53 +02:00
parent 4603648de3
commit 5a03f130ed
4 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ import javax.swing.JPanel;
import net.miginfocom.swing.MigLayout;
import net.sf.openrocket.gui.util.Icons;
import net.sf.openrocket.gui.widgets.SelectColorButton;
import net.sf.openrocket.gui.widgets.IconButton;
import net.sf.openrocket.util.StateChangeListener;
@SuppressWarnings("serial")
@ -41,7 +41,7 @@ public class ScaleSelector {
this.scrollPane = scroll;
// Zoom out button
zoomOutButton = new SelectColorButton(Icons.ZOOM_OUT);
zoomOutButton = new IconButton(Icons.ZOOM_OUT);
zoomOutButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
@ -93,7 +93,7 @@ public class ScaleSelector {
});
// Zoom in button
zoomInButton = new SelectColorButton(Icons.ZOOM_IN);
zoomInButton = new IconButton(Icons.ZOOM_IN);
zoomInButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {