Skip to content

Commit

Permalink
Fix odd null compare caused by column alighnement on odd viewport siz…
Browse files Browse the repository at this point in the history
…es (#7132)
  • Loading branch information
Paliak authored Dec 31, 2023
1 parent b540e44 commit 254cafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/ConfigTab.lua
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ function ConfigTabClass:Draw(viewPort, inputEvents)

local maxCol = m_floor((viewPort.width - 10) / 370)
local maxColY = 0
local colY = { }
local colY = { 0 }
for _, section in ipairs(self.sectionList) do
local y = 14
section.shown = true
Expand Down

0 comments on commit 254cafc

Please sign in to comment.