UI: Update toolbar of in-game editor (#2551)

This commit is contained in:
catloversg
2026-03-04 05:07:08 +07:00
committed by GitHub
parent 45366a1a42
commit 5e71612fd7
2 changed files with 9 additions and 2 deletions
+6 -1
View File
@@ -69,7 +69,11 @@ export function Toolbar({ editor, onSave, onRun, onBeautify }: IProps) {
>
Beautify
</Button>
<Button color={isUpdatingRAM ? "secondary" : "primary"} sx={{ mx: 1 }} onClick={openRAMInfo}>
<Button
color={isUpdatingRAM ? "secondary" : "primary"}
sx={{ mx: 1, whiteSpace: "nowrap" }}
onClick={openRAMInfo}
>
{ram}
</Button>
<Tooltip title={parseKeyCombinationsToString(CurrentKeyBindings[ScriptEditorAction.Save])}>
@@ -105,6 +109,7 @@ export function Toolbar({ editor, onSave, onRun, onBeautify }: IProps) {
}
openDocumentationPopUp(path);
}}
width={350}
/>
<Typography>
<DocumentationLink