caasiu / gnome-shell-extension-KeysIndicator

Show <Ctrl> & <Shift> & <Alt> & NumLock & CapsLock status on Gnome panel
15 stars 7 forks source link

Re-apply greyout-style to modifiers on every update in greyout style #7

Closed gondrup closed 7 years ago

gondrup commented 7 years ago

Hi

I am finding this extension to be very useful but I noticed an issue in grey-out mode.

If you press down more than one modifier and release one of them, all modifiers remain highlighted until you release them all. For example if you press down Ctrl + Shift, then release Shift; both Ctrl and Shift will be highlighted until you release Ctrl.

This PR includes a simple change that resets Ctrl, Shift and Alt styles on each update event.

Many thanks Adrian

caasiu commented 7 years ago

Thanks for your contribution