slighly better font

This commit is contained in:
2025-05-07 12:20:43 -05:00
parent e7ca5c0297
commit fbb1460872
2 changed files with 6 additions and 5 deletions
@@ -13,7 +13,7 @@ import org.saturnclient.ui2.components.ElementRenderer;
public class Scroll extends Element { public class Scroll extends Element {
private static ThemeManager theme = new ThemeManager("Scroll"); private static ThemeManager theme = new ThemeManager("Scroll");
private static Property<Integer> bgColor = theme.property("bg-color", new Property<Integer>(0x90000000)); private static Property<Integer> bgColor = theme.property("bg-color", new Property<Integer>(0x90000000));
private static Property<Integer> scrollBarColor = theme.property("scrollbar-color", new Property<Integer>(0xFFFF0000)); private static Property<Integer> scrollBarColor = theme.property("scrollbar-color", new Property<Integer>(-7643914));
private static Property<Integer> scrollBarRadius = theme.property("scrollbar-radius", new Property<Integer>(10)); private static Property<Integer> scrollBarRadius = theme.property("scrollbar-radius", new Property<Integer>(10));
private static Property<Integer> scrollBarWidth = theme.property("scrollbar-width", new Property<Integer>(5)); private static Property<Integer> scrollBarWidth = theme.property("scrollbar-width", new Property<Integer>(5));
@@ -2,6 +2,7 @@ package org.saturnclient.ui2.screens;
import org.saturnclient.modules.ModManager; import org.saturnclient.modules.ModManager;
import org.saturnclient.modules.Module; import org.saturnclient.modules.Module;
import org.saturnclient.saturnclient.SaturnClient;
import org.saturnclient.saturnclient.config.Property; import org.saturnclient.saturnclient.config.Property;
import org.saturnclient.saturnclient.config.ThemeManager; import org.saturnclient.saturnclient.config.ThemeManager;
import org.saturnclient.ui.Textures; import org.saturnclient.ui.Textures;
@@ -43,18 +44,18 @@ public class ModMenu extends SaturnScreen {
draw(new Sidebar( draw(new Sidebar(
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> { new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
SaturnClient.LOGGER.info("TOP");
}, false), }, false),
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> { new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
SaturnClient.LOGGER.info("MID_TOP");
}, false), }, false),
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> { new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
SaturnClient.LOGGER.info("BOTTOM");
}, true), }, true),
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> { new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
SaturnClient.LOGGER.info("MID-BOTTOM");
}, true) }, true)
).centerOffset(width, height, -(scrollWidth / 2 + 20), 0)); ).centerOffset(width, height, -(scrollWidth / 2 + 20), 0));
} }