Restore DEFAULT_TOOLBAR_HEIGHT in MainApplicationShell.mxml

This commit is contained in:
Ghazi Triki 2017-07-20 17:27:33 +01:00
parent cfdce6e531
commit 41ea10d1d7

View File

@ -181,7 +181,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
[Bindable] private var showToolbarOpt:Boolean = true;
[Bindable] private var _showToolbar:Boolean = true;
[Bindable] private var toolbarHeight:Number = 50;
private const DEFAULT_TOOLBAR_HEIGHT:Number = 50;
[Bindable] private var toolbarHeight:Number = DEFAULT_TOOLBAR_HEIGHT;
[Bindable] private var toolbarPaddingTop:Number = 2;
[Bindable] private var showFooterOpt:Boolean = true;
[Bindable] private var _showFooter:Boolean = true;
@ -911,7 +912,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function updateToolbarHeight():void {
if (toolbarHeight != 0) {
toolbarHeight = Math.max(toolbarHeight, toolbar.logo.height + 10);
toolbarHeight = Math.max(DEFAULT_TOOLBAR_HEIGHT, toolbar.logo.height + 10);
}
calculateCanvasHeight();
}