From ac2890a8364dbb6c969827e64fca1659ebac7536 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 28 Nov 2015 17:16:16 +0100 Subject: [PATCH] Speed up menu start by avoiding an unnecessary showNotify call when building up the menu that reloads another time lists of filenames (demos, screenshots and music tracks) and player models --- qcsrc/menu/item/container.qc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qcsrc/menu/item/container.qc b/qcsrc/menu/item/container.qc index 23857dcea..17412cd0f 100644 --- a/qcsrc/menu/item/container.qc +++ b/qcsrc/menu/item/container.qc @@ -302,7 +302,10 @@ other.parent = me; other.Container_origin = theOrigin; other.Container_size = theSize; - me.setAlphaOf(me, other, theAlpha); + + // don't call setAlphaOf, it would uneccessarily trigger showNotify + //me.setAlphaOf(me, other, theAlpha); + other.Container_alpha = theAlpha; entity l; l = me.lastChild; -- 2.39.2