Skip to content

Commit

Permalink
fix: scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmier378 committed May 19, 2024
1 parent 02a3bb8 commit 895d718
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@ local function lootedReport_GUI()
return
end
if showReport then
ImGui.BeginTable('##LootReport', 3, bit32.bor(ImGuiTableFlags.Borders, ImGuiTableFlags.ScrollY, ImGuiTableFlags.RowBg))
local sizeX, sizeY = ImGui.GetContentRegionAvail()
ImGui.BeginTable('##LootReport', 3, bit32.bor(ImGuiTableFlags.Borders,ImGuiTableFlags.ScrollY, ImGuiTableFlags.RowBg), ImVec2(sizeX, sizeY-10))
ImGui.TableSetupScrollFreeze(0, 1)
ImGui.TableSetupColumn("Looter", ImGuiTableColumnFlags.WidthFixed, 100)
ImGui.TableSetupColumn("Item", ImGuiTableColumnFlags.WidthStretch, 150)
Expand Down Expand Up @@ -578,6 +579,7 @@ local function lootedReport_GUI()
ImGui.End()
end
end

local function lootedConf_GUI(open)
if not openConfigGUI then return end
ColorCountConf = 0
Expand Down

0 comments on commit 895d718

Please sign in to comment.