11
This commit is contained in:
@@ -88,12 +88,13 @@
|
||||
|
||||
const observer = ref(null)
|
||||
onMounted(() => {
|
||||
keyEventManager.registerEvents()
|
||||
canvasManager.initCanvas({
|
||||
canvasRef,
|
||||
canvasViewWidth: canvasContainerRef.value.clientWidth,
|
||||
canvasViewHeight: canvasContainerRef.value.clientHeight,
|
||||
canvasWidth: 750,
|
||||
canvasHeight: 600
|
||||
canvasWidth: props.config.width || 750,
|
||||
canvasHeight: props.config.height || 600
|
||||
})
|
||||
stateManager.onMounted()
|
||||
canvasManager.onMounted()
|
||||
|
||||
Reference in New Issue
Block a user