dont flicker with turn cycler OSD action; put important actions in the OSD even if that key was chosen

This commit is contained in:
Dustin Carlino 2019-01-12 11:14:44 -08:00
parent 25d38adf27
commit b76eaa8021

View File

@ -158,6 +158,9 @@ impl UserInput {
self.reserve_key(key, action);
self.important_actions
.push(format!("Press {} to {}", key.describe(), action));
if self.event_consumed {
return false;
}
@ -166,8 +169,6 @@ impl UserInput {
self.consume_event();
return true;
}
self.important_actions
.push(format!("Press {} to {}", key.describe(), action));
false
}