(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)) {
|
if (HasBit(_keystate, KEYS_SHIFT)) {
|
||||||
ToggleBit(_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();
|
this->SetDirty();
|
||||||
}
|
}
|
||||||
/* Return focus to the parent widget and window. */
|
/* Return focus to the parent widget and window. */
|
||||||
|
Reference in New Issue
Block a user