mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r24773) -Fix: Shift in the OSK behaved like capslock.
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user