2 lines
650 B
JavaScript
2 lines
650 B
JavaScript
import{d as r,i as s,a as i,al as u,B as c,M as d,aj as a,Q as m,am as _,an as f,o as p,f as v,E,h as o,aa as t,_ as g}from"./index-d6d34a4d.js";const h=r({__name:"DrawingLayer",setup(w){s(i);const l=s(u),e=c();return d(()=>{a.mount(e.value,e.value.parentElement),m(l,n=>a.options.coordinateScale=1/n,{immediate:!0}),_()}),f(()=>{a.unmount()}),(n,C)=>(p(),v("svg",{ref_key:"svg",ref:e,class:E(["w-full h-full absolute top-0",{"pointer-events-none":!o(t),"touch-none":o(t)}])},null,2))}}),b=g(h,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{b as default};
|