Fix IconGraphic::counterSlice for Window::WithSmallCounter

This commit is contained in:
Ilya Fedin
2025-02-23 04:04:05 +00:00
committed by John Preston
parent c672f105d3
commit 6f23010382
2 changed files with 4 additions and 4 deletions

View File

@@ -111,8 +111,8 @@ bool IconGraphic::isCounterNeeded(const State &state) const {
}
int IconGraphic::counterSlice(int counter) const {
return (counter >= 1000)
? (1000 + (counter % 100))
return (counter >= 100)
? (100 + (counter % 10))
: counter;
}