control presets

This commit is contained in:
minjaesong
2023-08-24 17:24:39 +09:00
parent b2454e4ca2
commit f75a7dd812
20 changed files with 196 additions and 92 deletions

View File

@@ -443,7 +443,7 @@ class UIItemTextLineInput(
if (!mouseDown) mouseLatched = false
imeOn = KeyToggler.isOn(App.getConfigInt("control_key_toggleime"))
imeOn = KeyToggler.isOn(ControlPresets.getKey("control_key_toggleime"))
}
}
@@ -468,7 +468,7 @@ class UIItemTextLineInput(
endComposing()
imeOn = !imeOn
KeyToggler.forceSet(App.getConfigInt("control_key_toggleime"), imeOn)
KeyToggler.forceSet(ControlPresets.getKey("control_key_toggleime"), imeOn)
}
private fun resetIME() {