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

Commit a1c8ccb

Browse files
committed
Merge branch 'master' of github.com:UnityTech/UIWidgets into dev
2 parents 634f431 + c5bdf08 commit a1c8ccb

File tree

20 files changed

+1777
-490
lines changed

20 files changed

+1777
-490
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
### This is the first release of *Unity Package UIWidgets*.
1010

1111
*just the first release*
12+
13+
14+
## [1.5.4-release] - 2019-08-30
15+
16+
#### In this release we mainly focus on the optimization and stabilization of the framework.
17+
#### We also upgrade UIWidgets to version 1.5.4, mainly derived from flutter 1.5.4.
18+
19+
### New Features
20+
- Optimize the GC performance of the rendering system [\#247](https://github.com/UnityTech/UIWidgets/pull/247)
21+
- Optimize the rendering performance of shadows [\#257](https://github.com/UnityTech/UIWidgets/pull/257)
22+
- Leverage Compute Buffer to optimize GPU-CPU communication [\#272](https://github.com/UnityTech/UIWidgets/pull/272)
23+
- Cupertino Theme Supported [\#287](https://github.com/UnityTech/UIWidgets/pull/287)
24+
- Support Unity Editor Drag&Drop mouse event [\#253](https://github.com/UnityTech/UIWidgets/pull/253)
25+
- Implement geometric shapes anti-alias draw [\#262](https://github.com/UnityTech/UIWidgets/pull/262)
26+
- Optimize paragraph layout [\#254](https://github.com/UnityTech/UIWidgets/pull/254)
27+
- Support emoji display and edit [\#231](https://github.com/UnityTech/UIWidgets/pull/231)
28+

README-ZH.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ $JSEvents
222222
在UIWidgets中使用图片时,记得将这一特性关闭,以免图片被意外放缩,方法如下:在Project面板中选中图片,在"Inspector"面板中将"Non Power of 2"(在"Advanced"中)设置为"None"。
223223

224224
#### 十、更新表情(Emoji)
225-
UIWidgets支持渲染文本中包含的表情。表情的图片来自[https://www.joypixels.com](https://www.joypixels.com/)提供的免费资源。
225+
UIWidgets支持渲染文本中包含的表情。表情的图片来自[Google Emoji](https://emojipedia.org/google)提供的免费资源。
226226
如果您希望使用自己的表情图片,请更新纹理图`Tests/Resources/Emoji.png`,以及`Runtime/ui/txt/emoji.cs`中将Unicode映射到纹理图中具体位置的映射表。
227227
特别地,请记得更新Dictionary变量`emojiLookupTable`,纹理图的行数`rowCount`以及纹理图的列数`colCount`
228228

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ In UIWidgets, you should almost always disable this by selecting the image in th
259259

260260
#### Update Emoji
261261
UIWidgets supports rendering emoji in (editable) texts. The emoji images comes from the free
262-
resources provided by [https://www.joypixels.com](https://www.joypixels.com/). If you would
262+
resources provided by [Google Emoji](https://emojipedia.org/google). If you would
263263
like to use your own images for emoji, please update the texture image `Tests/Resources/Emoji.png`,
264264
and the unicode-index table in `Runtime/ui/txt/emoji.cs` which maps unicodes to specific locations
265265
in the texture. Specifically, remember to update the Dictionary `emojiLookupTable`, number of rows

Runtime/gestures/mouse_tracking.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void detachAnnotation(MouseTrackerAnnotation annotation) {
109109
foreach (int deviceId in trackedAnnotation.activeDevices) {
110110
if (annotation.onExit != null) {
111111
annotation.onExit(
112-
PointerExitEvent.fromHoverEvent((PointerHoverEvent) this._lastMouseEvent[deviceId]));
112+
PointerExitEvent.fromMouseEvent(this._lastMouseEvent[deviceId]));
113113
}
114114
#if UNITY_EDITOR
115115
this.detachDragFromEditorAnnotation(annotation, deviceId);
@@ -248,7 +248,7 @@ void exitAllDevices(_TrackedAnnotation trackedAnnotation) {
248248
if (trackedAnnotation.activeDevices.Contains(deviceId)) {
249249
if (trackedAnnotation.annotation?.onExit != null) {
250250
trackedAnnotation.annotation.onExit(
251-
PointerExitEvent.fromHoverEvent((PointerHoverEvent) lastEvent));
251+
PointerExitEvent.fromMouseEvent(lastEvent));
252252
}
253253

254254
trackedAnnotation.activeDevices.Remove(deviceId);

0 commit comments

Comments
 (0)