mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 23:21:43 +02:00
✨ Maintain proportions when control key is pressed
This commit is contained in:
parent
9f351ef155
commit
285be7f5ff
3 changed files with 10 additions and 5 deletions
|
@ -1,5 +1,7 @@
|
|||
(ns uxbox.util.debug
|
||||
"Debugging utils")
|
||||
"Debugging utils"
|
||||
(:require
|
||||
[uxbox.main.store :as store]))
|
||||
|
||||
(def debug-options #{:bounding-boxes :group :events #_:simple-selection})
|
||||
|
||||
|
@ -30,8 +32,8 @@
|
|||
val))
|
||||
|
||||
(defn dump-state []
|
||||
(logjs "state" @uxbox.main.store/state))
|
||||
(logjs "state" @store/state))
|
||||
|
||||
(defn dump-objects []
|
||||
(let [page-id (get @uxbox.main.store/state :page-id)]
|
||||
(logjs "state" (get-in @uxbox.main.store/state [:workspace-data page-id :objects]))))
|
||||
(let [page-id (get @store/state :page-id)]
|
||||
(logjs "state" (get-in @store/state [:workspace-data page-id :objects]))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue