forked from VOICEVOX/voicevox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: ショートカットキー周りをHotkeyManagerにまとめる (VOICEVOX#1822)
* Add: HotkeyManagerを追加 * Add: とりあえずUndo/Redoは動いた * Change: Pluginに * Change: hotkey-jsに * Change: hotkeyManagerに置き換え * Change: デフォルトパラメータに * Code: ドキュメントを追加 * Add: sing側に同じ名前でショートカットを登録できるように * Revert: Spaceキー再生のコードを削除 * Improve: 可読性を改善 * Delete: keepDefaultBehaviorを削除 * Change: scopeを使うように * Code: 「ショートカットキーの処理」を使うように * Fix: 同じキーバインドが登録されてると片方が動かなくなるのを修正 * Code: 可読性を向上 * Code: 変数名周りを改修 * Change: HotkeyAction -> HotkeyActionName * Change: ActionKey -> ActionId * Change: action ->name * Change: window.electron.logInfoをを使うようにする * Code: 変数名を変更 * Change: undefined | HotkeySetting[]にする Co-Authored-By: Hiroshiba <[email protected]> * Add: テストを追加 * Refactor: refreshBindingsを分解 * Change: hotkeys.filterを一番上に持ってくる Co-Authored-By: Hiroshiba <[email protected]> * Change: getSettingでthrowするようにする Co-Authored-By: Hiroshiba <[email protected]> * Delete: eslintのignoreを使わないコードにする Co-Authored-By: Hiroshiba <[email protected]> * Code: コメントを追加 Co-Authored-By: Hiroshiba <[email protected]> * Change: as unknown asをなくす Co-Authored-By: Hiroshiba <[email protected]> * Fix: 割り当て -> 未割り当て -> 割り当ての挙動を修正 Co-Authored-By: Hiroshiba <[email protected]> * Change: logをDIする * Code: コメントを追加 * Change: 条件を変更 * 下に移動 * to combination * Fix: 良い感じにクリーンアップするように * Fix: テストを修正 * Improve: 良い感じに Co-Authored-By: Hiroshiba <[email protected]> * Improve: エラーメッセージを改善 Co-Authored-By: Hiroshiba <[email protected]> * Change: IDを使わないように * Refactor: isSameHotkeyTarget/isNotSameHotkeyTargetを追加 * Delete: unbindUnregisteredCombinationsを削除 * unbindedCombinationsを下に * doc集約 * プライベート変数の説明追加 * Code: コメントをdoc commentに * Change: beforeEachで登録するのをやめる --------- Co-authored-by: Hiroshiba <[email protected]> Co-authored-by: Hiroshiba <[email protected]>
- Loading branch information
1 parent
ad6f682
commit 3869583
Showing
17 changed files
with
741 additions
and
368 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.