1
0
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:
0O0o0oOoO00
2025-09-07 19:57:59 +08:00
parent ef7d01a87b
commit 705f9bb187
3 changed files with 8 additions and 3 deletions

View File

@@ -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;