slighly better font
This commit is contained in:
@@ -13,7 +13,7 @@ import org.saturnclient.ui2.components.ElementRenderer;
|
||||
public class Scroll extends Element {
|
||||
private static ThemeManager theme = new ThemeManager("Scroll");
|
||||
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> 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.Module;
|
||||
import org.saturnclient.saturnclient.SaturnClient;
|
||||
import org.saturnclient.saturnclient.config.Property;
|
||||
import org.saturnclient.saturnclient.config.ThemeManager;
|
||||
import org.saturnclient.ui.Textures;
|
||||
@@ -43,18 +44,18 @@ public class ModMenu extends SaturnScreen {
|
||||
|
||||
draw(new Sidebar(
|
||||
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
|
||||
|
||||
SaturnClient.LOGGER.info("TOP");
|
||||
}, false),
|
||||
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
|
||||
|
||||
SaturnClient.LOGGER.info("MID_TOP");
|
||||
}, false),
|
||||
|
||||
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
|
||||
|
||||
SaturnClient.LOGGER.info("BOTTOM");
|
||||
}, true),
|
||||
|
||||
new Sidebar.SidebarComponent(Textures.MODS_TAB, () -> {
|
||||
|
||||
SaturnClient.LOGGER.info("MID-BOTTOM");
|
||||
}, true)
|
||||
).centerOffset(width, height, -(scrollWidth / 2 + 20), 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user