Fix: Clicking book while signing removes signing text, Clicking book when book is signed allows text editing, Added default resolution to not crash on smaller screens (720p and less)

This commit is contained in:
SevenToaster509 2026-04-12 18:25:27 +01:00
parent 9fcf07d4dc
commit 48ce29a28e
2 changed files with 7 additions and 1 deletions

View file

@ -287,6 +287,9 @@ void UIScene_BookAndQuillMenu::handleInput(int iPad, int key, bool repeat, bool
navigateBack();
}
}
else {
navigateBack();
}
}
else
{
@ -471,10 +474,13 @@ void UIScene_BookAndQuillMenu::handlePress(F64 controlId, F64 childId)
#endif
break;
case eControl_Book:
if (signedBook == true) {
break;
}
if (g_KBMInput.IsKBMActive()) {
//This does not work when using controller. Why? God knows...
this->SetFocusToElement(eControl_Type);
m_typeText.beginDirectEdit(1023, false, L"");
m_typeText.beginDirectEdit(1023, signing, data->player->getDisplayName());
}
else {
if (signedBook == true) {