1
0
mirror of synced 2025-01-18 00:56:49 +01:00

impr: Display latest log at the top of the log console table

This commit is contained in:
WerWolv 2023-11-14 22:30:13 +01:00
parent 5ec7826273
commit 8e58f469b0

View File

@ -59,7 +59,7 @@ namespace hex::plugin::builtin {
while (clipper.Step()) {
auto end = 0;
for (size_t i = clipper.DisplayStart; i < std::min<size_t>(clipper.DisplayEnd + end, logs.size()); i++) {
const auto &log = logs[i];
const auto &log = logs[logs.size() - 1 - i];
if (!shouldDisplay(log.level, this->m_logLevel)) {
end++;