Remove a few lines from windows/main.cpp
This commit is contained in:
parent
62b6b57b8d
commit
fd2652b16e
|
@ -44,6 +44,7 @@ static inline void render_table(ImFont* monospace_font, std::vector<LogcatEntry>
|
||||||
if (ImGui::TableSetColumnIndex(7)) ImGui::TextUnformatted(logcat_entry->message);
|
if (ImGui::TableSetColumnIndex(7)) ImGui::TextUnformatted(logcat_entry->message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
clipper.End();
|
||||||
|
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) {
|
if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) {
|
||||||
|
@ -83,12 +84,7 @@ void main_window(bool latest_log_entries_read, ImFont* monospace_font, LogcatThr
|
||||||
*show_exclusions_window = true;
|
*show_exclusions_window = true;
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
bool open_logs;
|
bool open_logs = latest_log_entries_read ? ImGui::Button("Logs") : ImGui::RedButton("Logs");
|
||||||
if (!latest_log_entries_read) {
|
|
||||||
open_logs = ImGui::RedButton("Logs");
|
|
||||||
} else {
|
|
||||||
open_logs = ImGui::Button("Logs");
|
|
||||||
}
|
|
||||||
if (open_logs) {
|
if (open_logs) {
|
||||||
*show_logs_window = true;
|
*show_logs_window = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue