mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 07:46:13 -05:00
✨ New viewport functions
This commit is contained in:
parent
8c1fba5160
commit
d6f6d78b1e
1 changed files with 2 additions and 5 deletions
|
@ -5,7 +5,6 @@
|
|||
;; Copyright (c) KALEIDOS INC
|
||||
|
||||
(ns app.plugins.viewport
|
||||
"RPC for plugins runtime."
|
||||
(:require
|
||||
[app.common.data.macros :as dm]
|
||||
[app.common.record :as crc]
|
||||
|
@ -21,12 +20,10 @@
|
|||
(deftype ViewportProxy [$plugin]
|
||||
Object
|
||||
(zoomReset [_]
|
||||
;;TODO
|
||||
)
|
||||
(st/emit! dwz/reset-zoom))
|
||||
|
||||
(zoomToFitAll [_]
|
||||
;;TODO
|
||||
)
|
||||
(st/emit! dwz/zoom-to-fit-all))
|
||||
|
||||
(zoomIntoView [_ shapes]
|
||||
(let [ids
|
||||
|
|
Loading…
Add table
Reference in a new issue