Commit 92652fb
authored
Merge pull request #2125 from Eitot/feature/destructive-action-highlighting
Enable hasDestructiveAction property of certain NSAlert buttons
On some alerts that are triggered by pressing the delete key,
highlight the "Delete" buttons in red instead of the accent colour
(on macOS 11+).2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2038 | 2038 | | |
2039 | 2039 | | |
2040 | 2040 | | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
2041 | 2044 | | |
2042 | 2045 | | |
2043 | 2046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
1170 | 1173 | | |
1171 | 1174 | | |
1172 | 1175 | | |
| |||
0 commit comments