0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Alejandro Alonso 2022-12-16 10:29:42 +01:00
commit 76a83bece9
2 changed files with 4 additions and 1 deletions

View file

@ -24,6 +24,7 @@
### :arrow_up: Deps updates
### :heart: Community contributions by (Thank you!)
## 1.16.2-beta
- Fix strage cursor behaviour after clicking viewport with text pool [Github #2447](https://github.com/penpot/penpot/issues/2447)
## 1.16.1-beta

View file

@ -22,7 +22,9 @@
(let [points (->> shape
:position-data
(mapcat (comp gpr/rect->points position-data->rect)))]
(-> points (gpr/points->selrect))))
(if (empty? points)
(:selrect shape)
(-> points (gpr/points->selrect)))))
(defn position-data-bounding-box
[shape]