mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-06-09 02:13:09 +00:00
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:
parent
9fcf07d4dc
commit
48ce29a28e
Binary file not shown.
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue