|
@@ -142,11 +142,13 @@ export default class Layer {
|
|
|
if (eventName == null && selectItem) {
|
|
|
stateService.setDraggingItem(selectItem);
|
|
|
this.uiControl.selectUI = selectItem.type;
|
|
|
- } else if (eventName == null) {
|
|
|
- this.uiControl.clearUI();
|
|
|
- }
|
|
|
+ }
|
|
|
+ // else if (eventName == null) {
|
|
|
+ // this.uiControl.clearUI();
|
|
|
+ // }
|
|
|
}
|
|
|
this.setEventName("mouseDown");
|
|
|
+ this.uiControl.clearUI();
|
|
|
// 清除上一个状态
|
|
|
// 设置当前事件名称
|
|
|
e.preventDefault();
|
|
@@ -573,7 +575,7 @@ export default class Layer {
|
|
|
focusItem = null;
|
|
|
}
|
|
|
stateService.setFocusItem(focusItem);
|
|
|
- this.uiControl.clearUI();
|
|
|
+ //this.uiControl.clearUI();
|
|
|
}
|
|
|
|
|
|
let position = coordinate.getXYFromScreen({
|