summaryrefslogtreecommitdiff
diff options
-rw-r--r--unity-shared/TextInput.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unity-shared/TextInput.cpp b/unity-shared/TextInput.cpp
index 360c8e571..ee111864b 100644
--- a/unity-shared/TextInput.cpp
+++ b/unity-shared/TextInput.cpp
@@ -232,6 +232,7 @@ void TextInput::OnLockStateChanged(bool)
}
warning_->SetVisible(caps_lock_on() || num_lock_on());
+ warning_->SetOpacity((num_lock_on() && !caps_lock_on()) ? 0.3 : 1.0);
warning_tooltip_.Release();
QueueRelayout();
QueueDraw();