GmPanel is full screen by default now
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user