Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Dec 25, 2024
1 parent 33971fa commit 2242d5e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Misc/qs_pak/scripts/expmode_engine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ local imAlwaysClamp <const> = imSliderFlags.AlwaysClamp
local imLogarithmic <const> = imAlwaysClamp | imSliderFlags.Logarithmic
local imLeftArrow <const> = imKey.LeftArrow
local imRightArrow <const> = imKey.RightArrow
local imSpanAllColumns <const> = ImGui.SelectableFlags.SpanAllColumns
local imTableColumnWidthFixed <const> = ImGui.TableColumnFlags.WidthFixed
local imWindowNoSavedSettings <const> = ImGui.WindowFlags.NoSavedSettings

Expand Down Expand Up @@ -248,7 +249,7 @@ local function textures_onupdate(self)
imTableNextColumn()
imText(entry.index)
imTableNextColumn()
if imSelectable(entry.name) then
if imSelectable(entry.name, false, imSpanAllColumns) then
expmode.engine.viewtexture(entry.name)
end
imTableNextColumn()
Expand Down Expand Up @@ -434,7 +435,7 @@ local function sounds_onupdate(self)
imTableNextColumn()
imText(entry.index)
imTableNextColumn()
if imSelectable(entry.name) then
if imSelectable(entry.name, false, imSpanAllColumns) then
sounds.playlocal(entry.name)
end
imTableNextColumn()
Expand Down

0 comments on commit 2242d5e

Please sign in to comment.