mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 07:06:13 +02:00
🐛 Fix problem with overflow dropdown on stroke-cap
This commit is contained in:
parent
0159eea526
commit
1a61c855ca
3 changed files with 9 additions and 3 deletions
|
@ -141,7 +141,10 @@
|
|||
target (dom/get-current-target event)
|
||||
rect (dom/get-bounding-rect target)
|
||||
|
||||
top (+ (:bottom rect) 5)
|
||||
top (if (< (+ (:bottom rect) 320) (:height window-size))
|
||||
(+ (:bottom rect) 5)
|
||||
(- (:height window-size) 325))
|
||||
|
||||
left (if (< (+ (:left rect) 200) (:width window-size))
|
||||
(:left rect)
|
||||
(- (:width window-size) 205))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue