fix(vcs): run the merge editor's buttons on a mouse click on macOS (#3160)

WebKit doesn't focus a clicked button, so focus moved to the editor area outside the merge editor and cleared the focused merge editor; Apply, Cancel, Accept Yours/Theirs and the toolbar actions then did nothing on a mouse click. The merge editor root is now focusable (tabindex -1) so a click inside it keeps focus there.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-13 20:20:50 +08:00
1 джерело 04d5d9bd58
коміт 2ec2e75d40
3 files changed
+23

No files matched your search

+2
Переглянути файл
@@ -5,6 +5,7 @@
display: flex;
flex-direction: column;
background: var(--bg-app);
outline: none;
}
.toolbar {
flex: none;
@@ -84,6 +85,7 @@
}
.message {
flex: 1;
outline: none;
display: flex;
flex-direction: column;
align-items: center;