Skip to content

Commit 7527553

Browse files
committed
fix test
1 parent d0a0abd commit 7527553

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/cleanroommc/modularui/SizerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package com.cleanroommc.modularui;
22

33
import com.cleanroommc.modularui.overlay.ScreenWrapper;
4-
import com.cleanroommc.modularui.screen.JeiSettingsImpl;
54
import com.cleanroommc.modularui.screen.ModularPanel;
65
import com.cleanroommc.modularui.screen.ModularScreen;
6+
import com.cleanroommc.modularui.screen.UISettings;
77
import com.cleanroommc.modularui.widget.sizer.Area;
88
import com.cleanroommc.modularui.widgets.ButtonWidget;
99

@@ -37,7 +37,7 @@ void assertArea(Area area, int x, int y, int w, int h) {
3737

3838
ModularScreen testPanel(ModularPanel panel) {
3939
ModularScreen screen = new ModularScreen(panel);
40-
screen.getContext().setJeiSettings(new JeiSettingsImpl());
40+
screen.getContext().setSettings(new UISettings());
4141
ScreenWrapper wrapper = new ScreenWrapper(null, screen);
4242
screen.construct(wrapper);
4343
screen.onResize(W, H);

0 commit comments

Comments
 (0)