mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
✨ Reorder prototype overlay options (position before relative to) (#8972)
Closes #2910 Signed-off-by: rockchris99 <chrisleo0721@gmail.com> Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
650f725f11
commit
207cb87d5e
@ -35,6 +35,7 @@
|
||||
- Differentiate incoming and outgoing interaction link colors (by @claytonlin1110) [Github #7794](https://github.com/penpot/penpot/issues/7794)
|
||||
- Add guide locking and fix locked elements not selectable in viewer (by @Dexterity104) [Github #8358](https://github.com/penpot/penpot/issues/8358)
|
||||
- Apply styles to selection (by @AzazelN28) [Taiga #13647](https://tree.taiga.io/project/penpot/task/13647)
|
||||
- Reorder prototyping overlay options to show Position before Relative to (by @rockchris099) [Github #2910](https://github.com/penpot/penpot/issues/2910)
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
||||
|
||||
@ -475,16 +475,6 @@
|
||||
|
||||
(when (ctsi/has-overlay-opts interaction)
|
||||
[:*
|
||||
;; Overlay position relative-to (select)
|
||||
[:div {:class (stl/css :interaction-row)}
|
||||
[:div {:class (stl/css :interaction-row-label)}
|
||||
[:div {:class (stl/css :interaction-row-name)}
|
||||
(tr "workspace.options.interaction-relative-to")]]
|
||||
[:div {:class (stl/css :interaction-row-select)}
|
||||
[:& select {:default-value (str (:position-relative-to interaction))
|
||||
:options relative-to-opts
|
||||
:on-change change-position-relative-to}]]]
|
||||
|
||||
;; Overlay position (select)
|
||||
[:div {:class (stl/css :interaction-row)}
|
||||
[:div {:class (stl/css :interaction-row-label)}
|
||||
@ -495,6 +485,16 @@
|
||||
:options overlay-position-opts
|
||||
:on-change change-overlay-pos-type}]]]
|
||||
|
||||
;; Overlay position relative-to (select)
|
||||
[:div {:class (stl/css :interaction-row)}
|
||||
[:div {:class (stl/css :interaction-row-label)}
|
||||
[:div {:class (stl/css :interaction-row-name)}
|
||||
(tr "workspace.options.interaction-relative-to")]]
|
||||
[:div {:class (stl/css :interaction-row-select)}
|
||||
[:& select {:default-value (str (:position-relative-to interaction))
|
||||
:options relative-to-opts
|
||||
:on-change change-position-relative-to}]]]
|
||||
|
||||
;; Overlay position (buttons)
|
||||
[:div {:class (stl/css :interaction-row)}
|
||||
[:div {:class (stl/css :interaction-row-position)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user