mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
🐛 Fix active area for interactive shapes in view mode
This commit is contained in:
parent
907f39c73f
commit
3a4f63848d
2 changed files with 4 additions and 3 deletions
|
@ -34,6 +34,7 @@
|
||||||
- Fix problem displaying team statistics [#859](https://github.com/penpot/penpot/issues/859)
|
- Fix problem displaying team statistics [#859](https://github.com/penpot/penpot/issues/859)
|
||||||
- Fix problems with text editor selection [Taiga #1546](https://tree.taiga.io/project/penpot/issue/1546)
|
- Fix problems with text editor selection [Taiga #1546](https://tree.taiga.io/project/penpot/issue/1546)
|
||||||
- Fix problem when opening the context menu in dashboard at the bottom [#856](https://github.com/penpot/penpot/issues/856)
|
- Fix problem when opening the context menu in dashboard at the bottom [#856](https://github.com/penpot/penpot/issues/856)
|
||||||
|
- Fix problem when clicking an interactive group in view mode [#863](https://github.com/penpot/penpot/issues/863)
|
||||||
- Fix visibility of pages in sitemap when changing page [Taiga #1618](https://tree.taiga.io/project/penpot/issue/1618)
|
- Fix visibility of pages in sitemap when changing page [Taiga #1618](https://tree.taiga.io/project/penpot/issue/1618)
|
||||||
- Fix visual problem with group invite [Taiga #1290](https://tree.taiga.io/project/penpot/issue/1290)
|
- Fix visual problem with group invite [Taiga #1290](https://tree.taiga.io/project/penpot/issue/1290)
|
||||||
- Fix issues with promote owner panel [Taiga #763](https://tree.taiga.io/project/penpot/issue/763)
|
- Fix issues with promote owner panel [Taiga #763](https://tree.taiga.io/project/penpot/issue/763)
|
||||||
|
|
|
@ -65,15 +65,15 @@
|
||||||
:frame frame
|
:frame frame
|
||||||
:childs childs
|
:childs childs
|
||||||
:is-child-selected? true}]
|
:is-child-selected? true}]
|
||||||
(when (and (:interactions shape) show-interactions?)
|
(when (:interactions shape)
|
||||||
[:rect {:x (- x 1)
|
[:rect {:x (- x 1)
|
||||||
:y (- y 1)
|
:y (- y 1)
|
||||||
:width (+ width 2)
|
:width (+ width 2)
|
||||||
:height (+ height 2)
|
:height (+ height 2)
|
||||||
:fill "#31EFB8"
|
:fill "#31EFB8"
|
||||||
:stroke "#31EFB8"
|
:stroke "#31EFB8"
|
||||||
:stroke-width 1
|
:stroke-width (if show-interactions? 1 0)
|
||||||
:fill-opacity 0.2}])]
|
:fill-opacity (if show-interactions? 0.2 0)}])]
|
||||||
|
|
||||||
;; Don't wrap svg elements inside a <g> otherwise some can break
|
;; Don't wrap svg elements inside a <g> otherwise some can break
|
||||||
[:& component {:shape shape
|
[:& component {:shape shape
|
||||||
|
|
Loading…
Add table
Reference in a new issue