fix, enable menu before image

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou committed 2023-08-23 23:29:15 +08:00
1 parent 535405521c
commit dade589075
3 files changed
+52 -37

No files matched your search

+3
View File
@@ -2100,6 +2100,9 @@ fn _input_os_password(p: String, activate: bool, interface: impl Interface) {
activate_os(&interface);
std::thread::sleep(Duration::from_millis(1200));
}
if p.is_empty() {
return;
}
let mut key_event = KeyEvent::new();
key_event.press = true;
let mut msg_out = Message::new();