Fullscreen logcat

This commit is contained in:
blankie 2023-01-29 18:59:56 +07:00
parent 072466c54f
commit 539ea7aa27
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 5 additions and 1 deletions

View File

@ -60,7 +60,11 @@ void main_window(bool latest_log_entries_read, ImFont* monospace_font,
const Config& active_config, Config& inactive_config, const Config& active_config, Config& inactive_config,
const Filters& active_filters, Filters& inactive_filters, const Filters& active_filters, Filters& inactive_filters,
bool* show_settings_window, bool* show_filters_window, bool* show_logs_window, bool* run_event_loop) { bool* show_settings_window, bool* show_filters_window, bool* show_logs_window, bool* run_event_loop) {
if (!ImGui::Begin("LogMeow", run_event_loop)) {
ImGui::SetNextWindowPos(ImGui::GetMainViewport()->WorkPos);
ImGui::SetNextWindowSize(ImGui::GetMainViewport()->WorkSize);
if (!ImGui::Begin("LogMeow", run_event_loop,
ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoBringToFrontOnFocus)) {
ImGui::End(); ImGui::End();
return; return;
} }