projet-fin-etude-rapport/assets/DrawingLayer-63aaf918.js

2 lines
650 B
JavaScript
Raw Normal View History

2023-09-06 20:54:14 +00:00
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-621d9fd0.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};