Skip to content

Commit

Permalink
[v3 Darwin] Fix NewEditMenu, remove duplicate PasteAndMatchStyle item (
Browse files Browse the repository at this point in the history
…#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 <[email protected]>
  • Loading branch information
johnmccabe and leaanthony authored Oct 20, 2024
1 parent 4591fb9 commit 4325b06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mkdocs-website/docs/en/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion v3/pkg/application/roles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4325b06

Please sign in to comment.