|
5 | 5 | import me.pindour.catpuccin.gui.text.TextSize; |
6 | 6 | import me.pindour.catpuccin.gui.themes.catpuccin.icons.CatpuccinIcons; |
7 | 7 | import me.pindour.catpuccin.gui.themes.catpuccin.widgets.WCatpuccinLabel; |
| 8 | +import me.pindour.catpuccin.gui.themes.catpuccin.widgets.pressable.WCatpuccinCheckbox; |
8 | 9 | import me.pindour.catpuccin.gui.themes.catpuccin.widgets.settings.WCatpuccinDoubleEdit; |
9 | 10 | import me.pindour.catpuccin.gui.themes.catpuccin.widgets.settings.WCatpuccinIntEdit; |
10 | 11 | import me.pindour.catpuccin.gui.themes.catpuccin.widgets.settings.WCatpuccinKeybind; |
|
27 | 28 | import meteordevelopment.meteorclient.gui.widgets.input.WDropdown; |
28 | 29 | import meteordevelopment.meteorclient.gui.widgets.input.WTextBox; |
29 | 30 | import meteordevelopment.meteorclient.gui.widgets.pressable.WButton; |
30 | | -import meteordevelopment.meteorclient.gui.widgets.pressable.WCheckbox; |
31 | 31 | import meteordevelopment.meteorclient.gui.widgets.pressable.WMinus; |
32 | 32 | import meteordevelopment.meteorclient.gui.widgets.pressable.WPlus; |
33 | 33 | import meteordevelopment.meteorclient.renderer.Fonts; |
@@ -178,12 +178,12 @@ public void remove(WVerticalList list) { |
178 | 178 | private void boolW(WTable table, BoolSetting setting) { |
179 | 179 | WHorizontalList list = table.add(theme.horizontalList()).expandX().widget(); |
180 | 180 |
|
181 | | - WCheckbox checkbox = list.add(theme.checkbox(setting.get())).widget(); |
| 181 | + WCatpuccinCheckbox checkbox = (WCatpuccinCheckbox) list.add(theme.checkbox(setting.get())).widget(); |
182 | 182 | checkbox.action = () -> setting.set(checkbox.checked); |
183 | 183 |
|
184 | 184 | title(list, setting).padLeft(theme.pad()); |
185 | 185 |
|
186 | | - reset(table, setting, () -> checkbox.checked = setting.get()); |
| 186 | + reset(table, setting, () -> checkbox.setChecked(setting.get())); |
187 | 187 | } |
188 | 188 |
|
189 | 189 | private void intW(WTable table, IntSetting setting) { |
|
0 commit comments