0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-06 12:01:19 -05:00

WIP: exposing translate

This commit is contained in:
Alejandro Alonso 2024-10-02 14:16:51 +02:00
parent 579b157ab7
commit 928709a0f2

View file

@ -272,7 +272,7 @@
(when (render-v2/is-enabled?)
(mf/with-effect
[canvas-ref]
[canvas-ref base-objects]
(let [canvas (mf/ref-val canvas-ref)]
(p/then (render-v2/init)
#(render-v2/set-canvas canvas vbox base-objects)))))