diff options
Diffstat (limited to 'src/main/java')
3 files changed, 10 insertions, 9 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/TooltipTextScrolling.java b/src/main/java/io/github/moulberry/notenoughupdates/TooltipTextScrolling.java index 3261cc17..21fa64b7 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/TooltipTextScrolling.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/TooltipTextScrolling.java @@ -53,7 +53,7 @@ public class TooltipTextScrolling { @SubscribeEvent public void onMouse(GuiScreenEvent.MouseInputEvent.Pre event) { - if (!NotEnoughUpdates.INSTANCE.config.misc.scrollableTooltips) return; + if (!NotEnoughUpdates.INSTANCE.config.tooltipTweaks.scrollableTooltips) return; if (Mouse.getEventDWheel() < 0) { scrollOffset = Math.max( lastRenderedTooltip == null ? 0 : -Math.max(lastRenderedTooltip.size() - 1, 0) diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java index 6b524dd0..47e51eec 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/Misc.java @@ -311,12 +311,4 @@ public class Misc { @ConfigEditorBoolean public boolean dungeonGroupsPV = true; - @Expose - @ConfigOption( - name = "Scrollable Tooltips", - desc = "Make tooltips text scrollable, by making some text lines disappear when using the mouse while hovering over an item." - ) - @ConfigEditorBoolean - public boolean scrollableTooltips = false; - } diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/TooltipTweaks.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/TooltipTweaks.java index db300520..29fc24c1 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/TooltipTweaks.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/TooltipTweaks.java @@ -166,6 +166,15 @@ public class TooltipTweaks { @Expose @ConfigOption( + name = "Scrollable Tooltips", + desc = "Make tooltips text scrollable, by making some text lines disappear when using the mouse while hovering over an item." + ) + @ConfigEditorBoolean + public boolean scrollableTooltips = false; + + + @Expose + @ConfigOption( name = "Expand Pet Exp Requirement", desc = "Show which the full amount of pet xp required" ) |