2 lines
648 B
JavaScript
2 lines
648 B
JavaScript
import{d as r,i as o,a as i,al as c,B as u,M as m,ah as n,Q as d,am as _,an as f,o as p,f as h,E as v,h as s,ag as t,_ as g}from"./index-b914775c.js";const E=r({__name:"DrawingLayer",setup(w){o(i);const l=o(c),e=u();return m(()=>{n.mount(e.value,e.value.parentElement),d(l,a=>n.options.coordinateScale=1/a,{immediate:!0}),_()}),f(()=>{n.unmount()}),(a,j)=>(p(),h("svg",{ref_key:"svg",ref:e,class:v(["w-full h-full absolute top-0",{"pointer-events-none":!s(t),"touch-none":s(t)}])},null,2))}}),x=g(E,[["__file","/home/jochenmehlich/Projekte/Präsentationen/TechnikEET/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{x as default};
|