mirror of https://github.com/penpot/penpot.git
Merge pull request #8008 from penpot/alotor-fix-path-editor
🐛 Fix problem with path editor and right click
This commit is contained in:
commit
6eb32cfb79
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
- Fix setting a portion of text as bold or underline messes things up [Github #7980](https://github.com/penpot/penpot/issues/7980)
|
||||
- Fix problem with style in fonts input [Taiga #12935](https://tree.taiga.io/project/penpot/issue/12935)
|
||||
- Fix problem with path editor and right click [Github #7917](https://github.com/penpot/penpot/issues/7917)
|
||||
|
||||
## 2.12.0
|
||||
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@
|
|||
|
||||
on-pointer-down
|
||||
(fn [event]
|
||||
(when (dom/left-mouse? event)
|
||||
(dom/stop-propagation event)
|
||||
(dom/prevent-default event)
|
||||
|
||||
|
|
@ -92,7 +93,7 @@
|
|||
(st/emit! (drp/start-path-from-point position))
|
||||
|
||||
(and is-draw (not is-start-path))
|
||||
(st/emit! (drp/close-path-drag-start position)))))]
|
||||
(st/emit! (drp/close-path-drag-start position))))))]
|
||||
|
||||
[:g.path-point
|
||||
[:circle.path-point
|
||||
|
|
|
|||
Loading…
Reference in New Issue