핫키 3대 버그 수정: Alt 메뉴 차단 + 조합키 녹화 + aria-hidden
- WindowManager: Menu.setApplicationMenu(null)로 Alt 키 메뉴 완전 제거 - HotkeyRecordModal: 조합키 로직 재설계 — modifier 누른 채로 일반키 입력 시 조합 확정 - HotkeyRecordModal/SettingsModal: disableEnforceFocus로 aria-hidden 에러 방지
This commit is contained in:
parent
5741d55c0b
commit
48582e46ec
3 changed files with 135 additions and 169 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// src/main/windows/WindowManager.ts
|
||||
// 설계서 01 WindowManagerService: 메인 윈도우 + 팝업 프리로딩 + 2-phase 리사이즈
|
||||
|
||||
import { BrowserWindow, shell, screen, ipcMain } from 'electron'
|
||||
import { BrowserWindow, shell, screen, ipcMain, Menu } from 'electron'
|
||||
import { join } from 'path'
|
||||
import { is } from '@electron-toolkit/utils'
|
||||
import { WINDOW_SIZE } from '@shared/constants'
|
||||
|
|
@ -40,6 +40,10 @@ export function createMainWindow(): BrowserWindow {
|
|||
}
|
||||
})
|
||||
|
||||
// Alt 키로 메뉴 활성화 방지: 메뉴 완전 제거
|
||||
mainWindow.setMenu(null)
|
||||
Menu.setApplicationMenu(null)
|
||||
|
||||
mainWindow.on('ready-to-show', () => {
|
||||
mainWindow?.show()
|
||||
if (is.dev) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue