update fullscreen
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import { useSettings } from '../store/settings'
|
||||
|
||||
const emit = defineEmits(["close"]);
|
||||
const { settings } = useSettings();
|
||||
const { settings, changeScale } = useSettings();
|
||||
|
||||
function handleCancel() {
|
||||
emit('close')
|
||||
@@ -11,6 +10,7 @@ function handleCancel() {
|
||||
|
||||
function handleConfirm() {
|
||||
// alert(JSON.stringify(settings, null, 2))
|
||||
changeScale(settings.resolution.width, settings.resolution.height)
|
||||
emit('close')
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user