[v3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item (#3839)

* [V3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item

* [chore] Add darwin fix for NewEditMenu dupe role to changelog

- PR #3839

---------

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
John McCabe 2024-10-20 22:35:34 +01:00 committed by GitHub
commit 4325b06ac4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -26,8 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed `Screen` type to include `ID` not `Id` by [etesam913](https://github.com/etesam913) in [#3778](https://github.com/wailsapp/wails/pull/3778)
### Fixed
- Fixed `AlwaysOnTop` not working on Mac by [leaanthony](https://github.com/leaanthony)
in [#3841](https://github.com/wailsapp/wails/pull/3841)
- Fixed `AlwaysOnTop` not working on Mac by [leaanthony](https://github.com/leaanthony) in [#3841](https://github.com/wailsapp/wails/pull/3841)
- [darwin] Fixed `application.NewEditMenu` including a duplicate `PasteAndMatchStyle` role in the edit menu on Darwin by [johnmccabe](https://github.com/johnmccabe) in [#3839](https://github.com/wailsapp/wails/pull/3839)
## v3.0.0-alpha.7 - 2024-09-18

View file

@ -121,7 +121,6 @@ func NewEditMenu() *MenuItem {
editMenu.AddRole(Copy)
editMenu.AddRole(Paste)
if runtime.GOOS == "darwin" {
editMenu.AddRole(PasteAndMatchStyle)
editMenu.AddRole(PasteAndMatchStyle)
editMenu.AddRole(Delete)
editMenu.AddRole(SelectAll)