From 73a1dea8669ad68e4ac4667ee1617bd74a275e60 Mon Sep 17 00:00:00 2001 From: Sattva <74269253+Sattva-108@users.noreply.github.com> Date: Sun, 18 May 2025 00:39:23 +0300 Subject: [PATCH] media: remove bug texture --- Leatrix_Plus.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Leatrix_Plus.lua b/Leatrix_Plus.lua index e834dc1..f18d285 100644 --- a/Leatrix_Plus.lua +++ b/Leatrix_Plus.lua @@ -15490,6 +15490,16 @@ function LeaPlusLC:RunOnce() end) end end + -- После всех SetPoint/SetSize для sBox: + for i = 1, sBox:GetNumRegions() do + local region = select(i, sBox:GetRegions()) + if region and region.GetTexture and type(region:GetTexture()) == "string" then + local tex = region:GetTexture() + if tex and tex:find("Common%-Input%-Border") and region.GetName and region:GetName() == "UIParentMiddle" then + region:Hide() + end + end + end -- Function to show search results local function ShowSearchResults()