Skip to content

Commit

Permalink
fix: scrollbar for real
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmier378 committed May 19, 2024
1 parent 895d718 commit a176048
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,7 @@ local function lootedReport_GUI()
end

ImGui.PushID(item) -- Push a unique ID for each item

ImGui.BeginGroup()

ImGui.TableNextRow()
ImGui.TableSetColumnIndex(0)
ImGui.Text(looter)
Expand Down Expand Up @@ -567,17 +566,17 @@ local function lootedReport_GUI()
end
ImGui.TableSetColumnIndex(2)
ImGui.Text(tostring(itemCount))
ImGui.EndGroup()

ImGui.PopID() -- Pop the unique ID for each item
end
end

ImGui.EndTable()

if ColorCountRep > 0 then ImGui.PopStyleColor(ColorCountRep) end
if StyleCountRep > 0 then ImGui.PopStyleVar(StyleCountRep) end
ImGui.End()
end
if ColorCountRep > 0 then ImGui.PopStyleColor(ColorCountRep) end
if StyleCountRep > 0 then ImGui.PopStyleVar(StyleCountRep) end
ImGui.End()
end
end

local function lootedConf_GUI(open)
Expand Down

0 comments on commit a176048

Please sign in to comment.