mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
Accept dialog on enter press
This commit is contained in:
parent
0d9de08194
commit
67dc476331
@ -380,7 +380,7 @@ void ImeDialogUi::Draw() {
|
||||
|
||||
SetCursorPosX(button_start_pos);
|
||||
|
||||
if (Button(button_text, BUTTON_SIZE)) {
|
||||
if (Button(button_text, BUTTON_SIZE) || (!state->is_multiLine && IsKeyPressed(ImGuiKey_Enter))) {
|
||||
*status = OrbisImeDialogStatus::FINISHED;
|
||||
result->endstatus = OrbisImeDialogEndStatus::OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user