mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-21 22:49:30 +08:00
opt: don't handle input when don't show ui
This commit is contained in:
@@ -220,6 +220,10 @@ void CrackerUI::close_ui() {
|
||||
m_is_show_ui.store(false);
|
||||
}
|
||||
|
||||
bool CrackerUI::is_ui_showed() {
|
||||
return m_is_show_ui.load();
|
||||
}
|
||||
|
||||
CrackerUI& CrackerUI::get_instance() {
|
||||
static CrackerUI instance;
|
||||
return instance;
|
||||
|
||||
Reference in New Issue
Block a user