From 2242d5ee4c656dee99a30fc0145fb58cc28c0a04 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 25 Dec 2024 13:28:42 +0200 Subject: [PATCH] no message --- Misc/qs_pak/scripts/expmode_engine.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Misc/qs_pak/scripts/expmode_engine.lua b/Misc/qs_pak/scripts/expmode_engine.lua index de50cb17..46acc161 100644 --- a/Misc/qs_pak/scripts/expmode_engine.lua +++ b/Misc/qs_pak/scripts/expmode_engine.lua @@ -38,6 +38,7 @@ local imAlwaysClamp = imSliderFlags.AlwaysClamp local imLogarithmic = imAlwaysClamp | imSliderFlags.Logarithmic local imLeftArrow = imKey.LeftArrow local imRightArrow = imKey.RightArrow +local imSpanAllColumns = ImGui.SelectableFlags.SpanAllColumns local imTableColumnWidthFixed = ImGui.TableColumnFlags.WidthFixed local imWindowNoSavedSettings = ImGui.WindowFlags.NoSavedSettings @@ -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() @@ -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()