mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 11:38:30 +02:00
🐛 Fix X & Y position do not sincronize with tokens (#7004)
This commit is contained in:
parent
17447d7610
commit
36d3d94ec9
2 changed files with 13 additions and 1 deletions
|
@ -52,6 +52,7 @@
|
||||||
- Fix change from gradient to solid color [Taiga #11648](https://tree.taiga.io/project/penpot/issue/11648)
|
- Fix change from gradient to solid color [Taiga #11648](https://tree.taiga.io/project/penpot/issue/11648)
|
||||||
- Fix the context menu always closes after any action [Taiga #11624](https://tree.taiga.io/project/penpot/issue/11624)
|
- Fix the context menu always closes after any action [Taiga #11624](https://tree.taiga.io/project/penpot/issue/11624)
|
||||||
- Fix font selector highlight inconsistency when using keyboard navigation [Taiga #11668](https://tree.taiga.io/project/penpot/issue/11668)
|
- Fix font selector highlight inconsistency when using keyboard navigation [Taiga #11668](https://tree.taiga.io/project/penpot/issue/11668)
|
||||||
|
- Fix X & Y position do not sincronize with tokens [Taiga #11617](https://tree.taiga.io/project/penpot/issue/11617)
|
||||||
|
|
||||||
## 2.8.1 (Unreleased)
|
## 2.8.1 (Unreleased)
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,15 @@
|
||||||
|
|
||||||
(def dimensions-keys (schema-keys schema:dimensions))
|
(def dimensions-keys (schema-keys schema:dimensions))
|
||||||
|
|
||||||
|
(def ^:private schema:axis
|
||||||
|
[:map
|
||||||
|
[:x {:optional true} token-name-ref]
|
||||||
|
[:y {:optional true} token-name-ref]])
|
||||||
|
|
||||||
|
(def axis-keys (schema-keys schema:axis))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
(def ^:private schema:rotation
|
(def ^:private schema:rotation
|
||||||
[:map
|
[:map
|
||||||
[:rotation {:optional true} token-name-ref]])
|
[:rotation {:optional true} token-name-ref]])
|
||||||
|
@ -165,6 +174,7 @@
|
||||||
opacity-keys
|
opacity-keys
|
||||||
spacing-keys
|
spacing-keys
|
||||||
dimensions-keys
|
dimensions-keys
|
||||||
|
axis-keys
|
||||||
rotation-keys
|
rotation-keys
|
||||||
typography-keys
|
typography-keys
|
||||||
number-keys))
|
number-keys))
|
||||||
|
@ -216,7 +226,8 @@
|
||||||
(opacity-keys shape-attr) #{shape-attr}
|
(opacity-keys shape-attr) #{shape-attr}
|
||||||
(spacing-keys shape-attr) #{shape-attr}
|
(spacing-keys shape-attr) #{shape-attr}
|
||||||
(rotation-keys shape-attr) #{shape-attr}
|
(rotation-keys shape-attr) #{shape-attr}
|
||||||
(number-keys shape-attr) #{shape-attr})))
|
(number-keys shape-attr) #{shape-attr}
|
||||||
|
(axis-keys shape-attr) #{shape-attr})))
|
||||||
|
|
||||||
(defn token-attr->shape-attr
|
(defn token-attr->shape-attr
|
||||||
[token-attr]
|
[token-attr]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue