projet-probleme-inverse-3D/assets/DrawingLayer-0336a1ed.js

2 lines
627 B
JavaScript
Raw Permalink Normal View History

2023-06-25 13:29:07 +00:00
import{f as l,h as s,j as i,b5 as c,A as u,K as m,b3 as n,w as d,b6 as p,M as _,l as f,m as v,ar as g,y as o,aT as t,_ as w}from"./nav-1e818d35.js";const b=l({__name:"DrawingLayer",setup(h){s(i);const r=s(c),e=u();return m(()=>{n.mount(e.value,e.value.parentElement),d(r,a=>n.options.coordinateScale=1/a,{immediate:!0}),p()}),_(()=>{n.unmount()}),(a,j)=>(f(),v("svg",{ref_key:"svg",ref:e,class:g(["w-full h-full absolute top-0",{"pointer-events-none":!o(t),"touch-none":o(t)}])},null,2))}}),x=w(b,[["__file","/tmp/projet-probleme-inverse-3D/docs/node_modules/@slidev/client/internals/DrawingLayer.vue"]]);export{x as default};