mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-22 18:49:18 +01:00
bugfix
This commit is contained in:
parent
e817a7bacb
commit
a284aa55a8
@ -289,9 +289,12 @@ void GuiKeyboard::Update(GuiTrigger * t)
|
|||||||
keySpace->SetState(STATE_SELECTED, t->chan);
|
keySpace->SetState(STATE_SELECTED, t->chan);
|
||||||
}
|
}
|
||||||
else if(keyBack->GetState() == STATE_CLICKED)
|
else if(keyBack->GetState() == STATE_CLICKED)
|
||||||
|
{
|
||||||
|
if(strlen(kbtextstr) > 0)
|
||||||
{
|
{
|
||||||
kbtextstr[strlen(kbtextstr)-1] = 0;
|
kbtextstr[strlen(kbtextstr)-1] = 0;
|
||||||
kbText->SetText(GetDisplayText(kbtextstr));
|
kbText->SetText(GetDisplayText(kbtextstr));
|
||||||
|
}
|
||||||
keyBack->SetState(STATE_SELECTED, t->chan);
|
keyBack->SetState(STATE_SELECTED, t->chan);
|
||||||
}
|
}
|
||||||
else if(keyShift->GetState() == STATE_CLICKED)
|
else if(keyShift->GetState() == STATE_CLICKED)
|
||||||
|
Loading…
Reference in New Issue
Block a user