Skip to content

Commit b48a5b7

Browse files
committed
fix ???
1 parent b0a237a commit b48a5b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cleanroommc/modularui/widgets/AbstractCycleButtonWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public IDrawable getCurrentBackground(ITheme theme, WidgetThemeEntry<?> widgetTh
114114
@Override
115115
public IDrawable getCurrentOverlay(ITheme theme, WidgetThemeEntry<?> widgetTheme) {
116116
int state = getState();
117-
if (isHovering() && this.hoverOverlay != null && this.hoverOverlay[state] != null && this.hoverBackground[state] != IDrawable.NONE) {
117+
if (isHovering() && this.hoverOverlay != null && this.hoverOverlay[state] != null && this.hoverOverlay[state] != IDrawable.NONE) {
118118
return this.hoverOverlay[state];
119119
}
120120
return this.overlay != null && this.overlay[state] != null ? this.overlay[state] : super.getCurrentOverlay(theme, widgetTheme);

0 commit comments

Comments
 (0)