mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 04:29:31 +00:00
🐛 Fix default case on vertical align
This commit is contained in:
parent
2c3732f3f4
commit
a661b2564f
@ -333,7 +333,7 @@
|
|||||||
(case valign
|
(case valign
|
||||||
"bottom" (- y (- height selrect-height))
|
"bottom" (- y (- height selrect-height))
|
||||||
"center" (- y (/ (- height selrect-height) 2))
|
"center" (- y (/ (- height selrect-height) 2))
|
||||||
"top" y)
|
y)
|
||||||
y)]
|
y)]
|
||||||
[(assoc selrect :y y :width max-width :height max-height) transform])
|
[(assoc selrect :y y :width max-width :height max-height) transform])
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user