© 2024 GitHub, Inc.
We read every piece of feedback, and take your input very seriously.
Work fast with our official CLI. Learn more.
const keys = ["+",";","=","-","s","h","r","y","z","u","o"]; if ((e.ctrlKey||e.metaKey) && keys.includes(e.key.toLowerCase())){ e.preventDefault(); }
NEOの文字入力と、動的パレットのテキストエリアにフォーカスしている時のブラウザデフォルトのショートカットキーのいくつかをキャンセルしています。 そこに、ctrl+oも追加して、ブラウザでファイルを開くショートカットを無効化します。 描画中にctrl+oを使う人はほとんどいないとは思いますが、動作しなくてもいいショートカットキーを無効化して事故を減らします。
ブラウザデフォルトのショートカットキー「ctrl+o」を無効化。
0b058a8
0021eb5
Oops, something went wrong.
Add your comment here...
We don’t support that file type.
Try again with GIF, JPEG, JPG, MOV, MP4, PNG, SVG, WEBM, CPUPROFILE, CSV, DMP, DOCX, FODG, FODP, FODS, FODT, GZ, JSON, JSONC, LOG, MD, ODF, ODG, ODP, ODS, ODT, PATCH, PDF, PPTX, TGZ, TXT, XLS, XLSX or ZIP.
Attaching documents requires write permission to this repository.
This file is empty.
Try again with a file that’s not empty.
This file is hidden.
Try again with another file.
Something went really wrong, and we can’t process that file.
Try again.
Successfully merging this pull request may close these issues.
None yet
You’re receiving notifications because you’re watching this repository.
Optionally, choose a reason for locking that others can see. Learn more about when it’s appropriate to lock conversations.
NEOの文字入力と、動的パレットのテキストエリアにフォーカスしている時のブラウザデフォルトのショートカットキーのいくつかをキャンセルしています。
そこに、ctrl+oも追加して、ブラウザでファイルを開くショートカットを無効化します。
描画中にctrl+oを使う人はほとんどいないとは思いますが、動作しなくてもいいショートカットキーを無効化して事故を減らします。