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

Commit a22102d

Browse files
author
Yuncong Zhang
committed
Fix some issues.
1 parent 58e2547 commit a22102d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Documentation~/com.unity.uiwidgets.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# UIWidgets
2-
[中文](README-ZH.md)
32

43

54
## Introduction
@@ -354,4 +353,4 @@ Meanwhile, you can join the discussion channel at (https://connect.unity.com/g/u
354353

355354
## How to Contribute
356355

357-
Check [CONTRIBUTING.md](CONTRIBUTING.md)
356+
Check [CONTRIBUTING](CONTRIBUTING)

Documentation~/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# UIWidgets
2-
[中文](README-ZH.md)
32

43

54
## Introduction
@@ -354,4 +353,4 @@ Meanwhile, you can join the discussion channel at (https://connect.unity.com/g/u
354353

355354
## How to Contribute
356355

357-
Check [CONTRIBUTING.md](CONTRIBUTING.md)
356+
Check [CONTRIBUTING](CONTRIBUTING)

Runtime/ui/txt/emoji.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ public static bool isSingleCharNonEmptyEmoji(int c) {
509509
}
510510

511511
public static bool isEmptyEmoji(int c) {
512-
return !emojiLookupTable.ContainsKey(c) && c == 0xFE0F;
512+
return c == 0xFE0F && !emojiLookupTable.ContainsKey(c);
513513
}
514514

515515
public static List<string> splitByEmoji(string text) {

0 commit comments

Comments
 (0)