From b5bffb08168cf6e5c2d7959559afb4610a8bb4d8 Mon Sep 17 00:00:00 2001 From: Ghazi Triki Date: Mon, 7 Aug 2017 21:14:47 +0100 Subject: [PATCH] Remove unused code in TabSkin class. --- .../css/org/bigbluebutton/skins/TabSkin.as | 49 ------------------- 1 file changed, 49 deletions(-) diff --git a/bigbluebutton-client/branding/default/style/css/org/bigbluebutton/skins/TabSkin.as b/bigbluebutton-client/branding/default/style/css/org/bigbluebutton/skins/TabSkin.as index 488bb25500..93d5e66756 100644 --- a/bigbluebutton-client/branding/default/style/css/org/bigbluebutton/skins/TabSkin.as +++ b/bigbluebutton-client/branding/default/style/css/org/bigbluebutton/skins/TabSkin.as @@ -61,55 +61,6 @@ package org.bigbluebutton.skins { */ private static var cache:Object = {}; - //-------------------------------------------------------------------------- - // - // Class methods - // - //-------------------------------------------------------------------------- - - /** - * @private - * Several colors used for drawing are calculated from the base colors - * of the component (themeColor, borderColor and fillColors). - * Since these calculations can be a bit expensive, - * we calculate once per color set and cache the results. - */ - private static function calcDerivedStyles(themeColor:uint, borderColor:uint, falseFillColor0:uint, falseFillColor1:uint, fillColor0:uint, fillColor1:uint):Object { - var key:String = HaloColors.getCacheKey(themeColor, borderColor, falseFillColor0, falseFillColor1, fillColor0, fillColor1); - - if (!cache[key]) { - var o:Object = cache[key] = {}; - - // Cross-component styles. - HaloColors.addHaloColors(o, themeColor, fillColor0, fillColor1); - - // Tab-specific styles. - o.borderColorDrk1 = ColorUtil.adjustBrightness2(borderColor, 10); - o.falseFillColorBright1 = ColorUtil.adjustBrightness(falseFillColor0, 15); - o.falseFillColorBright2 = ColorUtil.adjustBrightness(falseFillColor1, 15); - } - - return cache[key]; - } - - //-------------------------------------------------------------------------- - // - // Constructor - // - //-------------------------------------------------------------------------- - - /** - * Constructor. - * - * @langversion 3.0 - * @playerversion Flash 9 - * @playerversion AIR 1.1 - * @productversion Flex 3 - */ - public function TabSkin() { - super(); - } - //-------------------------------------------------------------------------- // // Overridden properties