GmPanel is full screen by default now

This commit is contained in:
2024-12-12 01:12:33 +01:00
parent 608932300f
commit 7d6bd39f29
2 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,7 @@ interface ModalProps {
isModalOpen: boolean
closable?: boolean
isResizable?: boolean
isFullScreen?: boolean
canFullScreen?: boolean
modalPositionX?: number
modalPositionY?: number
@ -67,6 +68,7 @@ const props = withDefaults(defineProps<ModalProps>(), {
isModalOpen: false,
closable: true,
isResizable: true,
isFullScreen: false,
canFullScreen: false,
modalPositionX: 0,
modalPositionY: 0,
@ -87,7 +89,7 @@ const x = ref(0)
const y = ref(0)
const isResizing = ref(false)
const isDragging = ref(false)
const isFullScreen = ref(false)
const isFullScreen = ref(props.isFullScreen)
const minDimensions = {
width: 200,