top counters style & adaptive for mobile displays
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ void Statistics::report(const LogEvent& event)
|
||||
m_lastDestinationsMtx.lock();
|
||||
if (not m_lastDestinations.contains(event.dest))
|
||||
{
|
||||
if (m_lastDestinations.size() >= static_cast<int>(g::p::LAST_AND_TOP_LIST_SIZE))
|
||||
if (m_lastDestinations.size() == 5)
|
||||
{
|
||||
m_lastDestinations.pop_back();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user