diff options
Diffstat (limited to 'third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js')
-rw-r--r-- | third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js index 7a973ae..1ebb24b 100644 --- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js +++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/modifierkey.js @@ -117,9 +117,10 @@ ModifierKey.prototype.createDom = function() { ModifierKey.prototype.update = function() { var isStateEnabled = this.stateManager_.hasState(this.toState); var isSticky = this.stateManager_.isSticky(this.toState); + var isFinalSticky = this.stateManager_.isFinalSticky(this.toState); this.setHighlighted(isStateEnabled); if (this.dotIcon_) { - if (isStateEnabled && isSticky) { + if (isStateEnabled && isSticky && isFinalSticky) { goog.dom.classlist.add(this.dotIcon_, i18n.input.chrome.inputview.Css.CAPSLOCK_DOT_HIGHLIGHT); } else { |