mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-08-11 11:42:40 +00:00
fix(SettingsView): make backspace do nothing
This commit is contained in:
parent
3bb6a9d5fd
commit
91b633d575
|
|
@ -541,7 +541,7 @@ const SettingsView = memo(function SettingsView() {
|
|||
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (e: KeyboardEvent) => {
|
||||
if (e.key === "Escape" || e.key === "Backspace") {
|
||||
if (e.key === "Escape") {
|
||||
if (showModal) {
|
||||
playBackSound();
|
||||
setShowModal(null);
|
||||
|
|
|
|||
Loading…
Reference in a new issue