From eb348c08ade855b31f8b55e90102eed6cea90d44 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sun, 10 Mar 2019 18:57:15 -0400 Subject: [PATCH] Don't draw what's being filtered! --- indra/newview/llfolderviewitem.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp index 5b16dd492..5d85720f2 100644 --- a/indra/newview/llfolderviewitem.cpp +++ b/indra/newview/llfolderviewitem.cpp @@ -888,6 +888,7 @@ BOOL LLFolderViewItem::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, void LLFolderViewItem::draw() { + if (!getFiltered()) return; static LLCachedControl sFgColor(gColors, "MenuItemEnabledColor", LLColor4::white ); static LLCachedControl sHighlightBgColor(gColors, "MenuItemHighlightBgColor", LLColor4::white ); static LLCachedControl sHighlightFgColor(gColors, "MenuItemHighlightFgColor", LLColor4::white ); @@ -2571,6 +2572,7 @@ BOOL LLFolderViewFolder::handleDoubleClick( S32 x, S32 y, MASK mask ) void LLFolderViewFolder::draw() { + if (!getFiltered()) return; if (mAutoOpenCountdown != 0.f) { mControlLabelRotation = mAutoOpenCountdown * -90.f;