mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r24773) -Fix: Shift in the OSK behaved like capslock.
This commit is contained in:
parent
155a9d784c
commit
bfba90f864
|
@ -124,7 +124,7 @@ struct OskWindow : public Window {
|
|||
|
||||
if (HasBit(_keystate, KEYS_SHIFT)) {
|
||||
ToggleBit(_keystate, KEYS_SHIFT);
|
||||
this->GetWidget<NWidgetCore>(WID_OSK_SHIFT)->colour = HasBit(_keystate, KEYS_SHIFT) ? COLOUR_WHITE : COLOUR_GREY;
|
||||
this->UpdateOskState();
|
||||
this->SetDirty();
|
||||
}
|
||||
/* Return focus to the parent widget and window. */
|
||||
|
|
Loading…
Reference in New Issue