浏览代码

Merge pull request #331 from UnityTech/fix_bottom_navi_bar_item_bug

Fix bottom navi bar item bug
/main
GitHub 5 年前
当前提交
b46c6285
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Runtime/material/bottom_navigation_bar.cs

3
Runtime/material/bottom_navigation_bar.cs


child: text
);
}
else if (this.showUnselectedLabels) {
else if (!this.showUnselectedLabels) {
text = new FadeTransition(
opacity: this.animation,
child: text

Color backgroundColor = null;
switch (this.widget.type) {
case BottomNavigationBarType.fix:
backgroundColor = this.widget.backgroundColor;
break;
case BottomNavigationBarType.shifting:
backgroundColor = this._backgroundColor;

正在加载...
取消
保存