Restore DEFAULT_TOOLBAR_HEIGHT in MainApplicationShell.mxml
This commit is contained in:
parent
cfdce6e531
commit
41ea10d1d7
@ -181,7 +181,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
[Bindable] private var showToolbarOpt:Boolean = true;
|
[Bindable] private var showToolbarOpt:Boolean = true;
|
||||||
[Bindable] private var _showToolbar: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 toolbarPaddingTop:Number = 2;
|
||||||
[Bindable] private var showFooterOpt:Boolean = true;
|
[Bindable] private var showFooterOpt:Boolean = true;
|
||||||
[Bindable] private var _showFooter: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 {
|
private function updateToolbarHeight():void {
|
||||||
if (toolbarHeight != 0) {
|
if (toolbarHeight != 0) {
|
||||||
toolbarHeight = Math.max(toolbarHeight, toolbar.logo.height + 10);
|
toolbarHeight = Math.max(DEFAULT_TOOLBAR_HEIGHT, toolbar.logo.height + 10);
|
||||||
}
|
}
|
||||||
calculateCanvasHeight();
|
calculateCanvasHeight();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user