mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
🐛 Fix ctrl+c on inspect code
This commit is contained in:
parent
a09198b46e
commit
e71d569cda
2 changed files with 17 additions and 13 deletions
|
@ -56,18 +56,16 @@
|
||||||
- Fix undo ungroup (shift+g) scrambles positions [Taiga #4674](https://tree.taiga.io/project/penpot/issue/4674)
|
- Fix undo ungroup (shift+g) scrambles positions [Taiga #4674](https://tree.taiga.io/project/penpot/issue/4674)
|
||||||
- Fix justified text is stretched [Github #2539](https://github.com/penpot/penpot/issues/2539)
|
- Fix justified text is stretched [Github #2539](https://github.com/penpot/penpot/issues/2539)
|
||||||
- Fix mousewheel on viewer inspector [Taiga #4221](https://tree.taiga.io/project/penpot/issue/4221)
|
- Fix mousewheel on viewer inspector [Taiga #4221](https://tree.taiga.io/project/penpot/issue/4221)
|
||||||
<<<<<<< HEAD
|
|
||||||
- Fix path edition activated on boards [Taiga #4105](https://tree.taiga.io/project/penpot/issue/4105)
|
- Fix path edition activated on boards [Taiga #4105](https://tree.taiga.io/project/penpot/issue/4105)
|
||||||
- Fix hidden layers inside groups become visible after the group visibility is changed[Taiga #4710](https://tree.taiga.io/project/penpot/issue/4710)
|
- Fix hidden layers inside groups become visible after the group visibility is changed[Taiga #4710](https://tree.taiga.io/project/penpot/issue/4710)
|
||||||
- Fix format of HSLA color on viewer [Taiga #4393](https://tree.taiga.io/project/penpot/issue/4393)
|
- Fix format of HSLA color on viewer [Taiga #4393](https://tree.taiga.io/project/penpot/issue/4393)
|
||||||
- Fix some typos [Taiga #4724](https://tree.taiga.io/project/penpot/issue/4724)
|
- Fix some typos [Taiga #4724](https://tree.taiga.io/project/penpot/issue/4724)
|
||||||
|
- Fix ctrl+c for inspect code [Taiga #4739](https://tree.taiga.io/project/penpot/issue/4739)
|
||||||
|
- Fix text in custom font is not at the expected position at export [Taiga #4394](https://tree.taiga.io/project/penpot/issue/4394)
|
||||||
|
|
||||||
### :heart: Community contributions by (Thank you!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
||||||
- To @iprithvitharun: let's make UX Writing contributions in Open Source a trend!
|
- To @iprithvitharun: let's make UX Writing contributions in Open Source a trend!
|
||||||
=======
|
|
||||||
- Fix text in custom font is not at the expected position at export [Taiga #4394](https://tree.taiga.io/project/penpot/issue/4394)
|
|
||||||
>>>>>>> 1a9c62848 (:bug: Fix font vertical metrics)
|
|
||||||
|
|
||||||
## 1.16.2-beta
|
## 1.16.2-beta
|
||||||
|
|
||||||
|
|
|
@ -1311,8 +1311,14 @@
|
||||||
:file-id (:current-file-id state)
|
:file-id (:current-file-id state)
|
||||||
:selected selected
|
:selected selected
|
||||||
:objects {}
|
:objects {}
|
||||||
:images #{}}]
|
:images #{}}
|
||||||
|
selected_text (.. js/window getSelection toString)]
|
||||||
|
|
||||||
|
(if (not-empty selected_text)
|
||||||
|
(try
|
||||||
|
(wapi/write-to-clipboard selected_text)
|
||||||
|
(catch :default e
|
||||||
|
(on-copy-error e)))
|
||||||
(->> (rx/from (seq (vals pdata)))
|
(->> (rx/from (seq (vals pdata)))
|
||||||
(rx/merge-map (partial prepare-object objects selected+children))
|
(rx/merge-map (partial prepare-object objects selected+children))
|
||||||
(rx/reduce collect-data initial)
|
(rx/reduce collect-data initial)
|
||||||
|
@ -1320,7 +1326,7 @@
|
||||||
(rx/map t/encode-str)
|
(rx/map t/encode-str)
|
||||||
(rx/map wapi/write-to-clipboard)
|
(rx/map wapi/write-to-clipboard)
|
||||||
(rx/catch on-copy-error)
|
(rx/catch on-copy-error)
|
||||||
(rx/ignore)))))))
|
(rx/ignore))))))))
|
||||||
|
|
||||||
(declare paste-shape)
|
(declare paste-shape)
|
||||||
(declare paste-text)
|
(declare paste-text)
|
||||||
|
|
Loading…
Add table
Reference in a new issue