Update UIWindow.cs
This commit is contained in:
@@ -46,6 +46,7 @@ namespace MuHua {
|
|||||||
isDownMove = true;
|
isDownMove = true;
|
||||||
pointerPosition = UITool.GetMousePosition(canvas);
|
pointerPosition = UITool.GetMousePosition(canvas);
|
||||||
originalPosition = Window.transform.position;
|
originalPosition = Window.transform.position;
|
||||||
|
element.BringToFront();
|
||||||
}
|
}
|
||||||
/// <summary> 鼠标松开或离开 </summary>
|
/// <summary> 鼠标松开或离开 </summary>
|
||||||
private void DraggerUpOrLeave(EventBase evt) {
|
private void DraggerUpOrLeave(EventBase evt) {
|
||||||
|
|||||||
Reference in New Issue
Block a user