change instance fullscreen-checkbox to toggle (#848)

This commit is contained in:
ToBinio
2023-11-16 00:38:35 +01:00
committed by GitHub
parent aaf808477e
commit b8b1668fee

View File

@@ -264,7 +264,17 @@
Make the game start in full screen when launched (using options.txt). Make the game start in full screen when launched (using options.txt).
</span> </span>
</label> </label>
<Checkbox id="fullscreen" v-model="fullscreenSetting" :disabled="!overrideWindowSettings" /> <Toggle
id="fullscreen"
:model-value="fullscreenSetting"
:checked="fullscreenSetting"
:disabled="!overrideWindowSettings"
@update:model-value="
(e) => {
fullscreenSetting = e
}
"
/>
</div> </div>
<div class="adjacent-input"> <div class="adjacent-input">
<label for="width"> <label for="width">
@@ -519,6 +529,7 @@ import {
DownloadIcon, DownloadIcon,
ClipboardCopyIcon, ClipboardCopyIcon,
Button, Button,
Toggle,
} from 'omorphia' } from 'omorphia'
import { SwapIcon } from '@/assets/icons' import { SwapIcon } from '@/assets/icons'