Skip to content

Commit

Permalink
exp: span selectable to all columns in progs functions table
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 26, 2024
1 parent a589550 commit 09e6ced
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Misc/qs_pak/scripts/expmode_progs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ local imVec2 <const> = vec2.new

local imTableFlags <const> = ImGui.TableFlags

local imSpanAllColumns <const> = ImGui.SelectableFlags.SpanAllColumns
local imTableColumnWidthFixed <const> = ImGui.TableColumnFlags.WidthFixed
local imWindowNoSavedSettings <const> = ImGui.WindowFlags.NoSavedSettings

Expand Down Expand Up @@ -128,7 +129,7 @@ local function functions_onupdate(self)
imTableNextColumn()
imText(entry.index)
imTableNextColumn()
if imSelectable(entry.declaration) then
if imSelectable(entry.declaration, false, imSpanAllColumns) then
local func = entry.func
local funcname = func.name

Expand Down

0 comments on commit 09e6ced

Please sign in to comment.