mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 20:01:40 +02:00
🐛 Fix artboard title wasn't move when resizing
This commit is contained in:
parent
3ebc94ab8e
commit
ed893b995d
2 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
|||
|
||||
(mf/defc frame-title
|
||||
[{:keys [frame modifiers selected? zoom on-frame-enter on-frame-leave on-frame-select]}]
|
||||
(let [{:keys [width x y]} frame
|
||||
(let [{:keys [width x y]} (gsh/transform-shape frame)
|
||||
label-pos (gpt/point x (- y (/ 10 zoom)))
|
||||
|
||||
on-mouse-down
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue