Fix build canvases being frozen

This commit is contained in:
Peaceultime 2024-01-17 14:30:14 +01:00
parent 981badacc2
commit 01d20d4a46
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ if(props.node.color !== undefined)
<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-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 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">