Skip to content

Commit

Permalink
WIP: Improve Instrument and MusicVenueTool overlays.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeronica committed Mar 18, 2024
1 parent 5bff505 commit c5f14a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class OverlayManagerScreen extends MXScreen implements IItemOverlayPosition {

private final OverlayInstance<?>[] visible = { null, null };
private Screen parent = null;
private final Screen parent;
private IOverlayItem.Position xPosVenueTool;
private int yPosVenueTool;
private double lastYPosVenueTool = -1D;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class MXSlider extends AbstractSlider implements ILayout, IHooverText {
protected int padding = 0;
private final List<ITextComponent> hooverTexts = new ArrayList<>();
private boolean hooverTextsOverride;
private IPressable onPress;
private final IPressable onPress;
private ITextComponent sliderText;

public MXSlider(IPressable onPress) {
Expand All @@ -21,10 +21,6 @@ public MXSlider(IPressable onPress) {
sliderText = StringTextComponent.EMPTY;
}

public MXSlider(int pX, int pY, int pWidth, int pHeight, ITextComponent pMessage, double pValue) {
super(pX, pY, pWidth, pHeight, pMessage, pValue);
}

@Override
public void setMessage(ITextComponent pMessage) {
sliderText = pMessage;
Expand Down

0 comments on commit c5f14a2

Please sign in to comment.