Fix scroll panes when using pfUI

I wish I could tell you why this is a problem
This commit is contained in:
OldManAlpha
2025-06-27 11:13:54 -07:00
parent 9b14584b9d
commit 4d2e3a7d11
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ function M.new(parent)
local st = CreateFrame('Frame', gui.unique_name(), parent)
st:SetAllPoints()
st.numRows = max(floor((parent:GetHeight() - HEAD_HEIGHT - HEAD_SPACE) / ROW_HEIGHT), 0)
st.numRows = max(floor(((parent:GetHeight() / parent:GetEffectiveScale()) - HEAD_HEIGHT - HEAD_SPACE) / ROW_HEIGHT), 0)
local contentFrame = CreateFrame('Frame', nil, st)
contentFrame:SetPoint('TOPLEFT', 0, 0)