UI: Add option to disable minimap in script editor (#2504)

This commit is contained in:
catloversg
2026-02-16 01:56:01 +07:00
committed by GitHub
parent dc0c3b6fa3
commit 77d83a2fdc
4 changed files with 15 additions and 1 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
import { OwnedAugmentationsOrderSetting, PurchaseAugmentationsOrderSetting } from "./SettingEnums";
import { defaultTheme } from "../Themes/Themes";
import { defaultStyles } from "../Themes/Styles";
import { CursorStyle, CursorBlinking, WordWrapOptions, StickyScroll } from "../ScriptEditor/ui/Options";
import type { CursorStyle, CursorBlinking, WordWrapOptions, StickyScroll, Minimap } from "../ScriptEditor/ui/Options";
import { defaultMonacoTheme } from "../ScriptEditor/ui/themes";
import { assertObject } from "../utils/TypeAssertion";
import type { Result } from "@nsdefs";
@@ -186,6 +186,8 @@ export const Settings = {
MonacoCursorBlinking: "blink" as CursorBlinking,
/** Toggle use of Sticky Scroll in the Script Editor */
MonacoStickyScroll: { enabled: false } as StickyScroll,
/** Whether to show minimap in the script editor */
MonacoMinimap: { enabled: true } as Minimap,
/** Whether to hide trailing zeroes on fractional part of decimal */
hideTrailingDecimalZeros: false,
/** Whether to hide thousands separators. */