Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit f77b76d

Browse files
authored
Merge branch 'master' into update_readme
2 parents d7db0ea + fb8d1b8 commit f77b76d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

README-ZH.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ https://github.com/UnityTech/DocCN 查看。
4949
## 使用要求
5050

5151
#### Unity
52+
5253
安装 **Unity 2018.4.10f1(LTS)****Unity 2019.1.14f1** 及其更高版本。 你可以从[https://unity3d.com/get-unity/download](https://unity3d.com/get-unity/download)下载最新的Unity。
5354

5455
#### UIWidgets包

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ open-sourced @https://github.com/UnityTech/DocCN.
5858
## Requirements
5959

6060
#### Unity
61+
6162
Install **Unity 2018.4.10f1 (LTS)** or **Unity 2019.1.14f1** and above. You can download the latest Unity on https://unity3d.com/get-unity/download.
6263

6364
#### UIWidgets Package

Runtime/material/bottom_navigation_bar.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ public override Widget build(BuildContext context) {
348348
child: text
349349
);
350350
}
351-
else if (this.showUnselectedLabels) {
351+
else if (!this.showUnselectedLabels) {
352352
text = new FadeTransition(
353353
opacity: this.animation,
354354
child: text
@@ -576,6 +576,7 @@ public override Widget build(BuildContext context) {
576576
Color backgroundColor = null;
577577
switch (this.widget.type) {
578578
case BottomNavigationBarType.fix:
579+
backgroundColor = this.widget.backgroundColor;
579580
break;
580581
case BottomNavigationBarType.shifting:
581582
backgroundColor = this._backgroundColor;

0 commit comments

Comments
 (0)