Fix build canvases being frozen
This commit is contained in:
parent
981badacc2
commit
01d20d4a46
|
|
@ -37,7 +37,7 @@ if(props.node.color !== undefined)
|
||||||
<template>
|
<template>
|
||||||
<div class="canvas-node" :class="classes" :style="{transform: `translate(${node.x}px, ${node.y}px)`, width: `${node.width}px`, height: `${node.height}px`, '--canvas-node-width': `${node.width}px`, '--canvas-node-height': `${node.height}px`, '--canvas-color': props.node?.color?.startsWith('#') ? hexToRgb(props.node.color) : undefined}">
|
<div class="canvas-node" :class="classes" :style="{transform: `translate(${node.x}px, ${node.y}px)`, width: `${node.width}px`, height: `${node.height}px`, '--canvas-node-width': `${node.width}px`, '--canvas-node-height': `${node.height}px`, '--canvas-color': props.node?.color?.startsWith('#') ? hexToRgb(props.node.color) : undefined}">
|
||||||
<div class="canvas-node-container">
|
<div class="canvas-node-container">
|
||||||
<template v-if="props.node.type === 'group' || props.zoom > 0.4">
|
<template v-if="props.node.type === 'group' || props.zoom > 0.33">
|
||||||
<div class="canvas-node-content markdown-embed">
|
<div class="canvas-node-content markdown-embed">
|
||||||
<div v-if="props.node.text?.body?.children?.length > 0" class="markdown-embed-content node-insert-event" style="">
|
<div v-if="props.node.text?.body?.children?.length > 0" class="markdown-embed-content node-insert-event" style="">
|
||||||
<div class="markdown-preview-view markdown-rendered node-insert-event show-indentation-guide allow-fold-headings allow-fold-lists">
|
<div class="markdown-preview-view markdown-rendered node-insert-event show-indentation-guide allow-fold-headings allow-fold-lists">
|
||||||
Loading…
Reference in New Issue