fix(CountersSelectors): display selected line on other pages
This commit is contained in:
parent
cd2e624182
commit
1183442712
@ -113,7 +113,7 @@ local function renderCountersMap(win, countersMap, selectedCounter)
|
|||||||
win.write(tostring(v.name) .. ' ' .. tostring(v.count))
|
win.write(tostring(v.name) .. ' ' .. tostring(v.count))
|
||||||
end
|
end
|
||||||
|
|
||||||
if k == selectedCounter then
|
if k + nbElementsToOmit == selectedCounter then
|
||||||
withColor(win, colors.black, colors.white, writeLine)
|
withColor(win, colors.black, colors.white, writeLine)
|
||||||
else
|
else
|
||||||
withColor(win, colors.white, colors.black, writeLine)
|
withColor(win, colors.white, colors.black, writeLine)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user