|
@@ -161,12 +161,10 @@ export class SEquipmentItem extends SObjectItem {
|
|
|
* @return boolean
|
|
|
*/
|
|
|
onDoubleClick(event: SMouseEvent): boolean {
|
|
|
- console.log(event)
|
|
|
- console.log(this)
|
|
|
// 如果位show状态 双击改对象则需改为编辑状态
|
|
|
if (StatusType.Normal == this.equipmentStatus) {
|
|
|
this.equipmentStatus = StatusType.Edit;
|
|
|
- // this.grabItem(this);
|
|
|
+ // this.grabItem(this); // TODO:
|
|
|
} else if (StatusType.Edit == this.equipmentStatus) {
|
|
|
this.equipmentStatus = StatusType.Normal;
|
|
|
this.releaseItem();
|
|
@@ -174,6 +172,8 @@ export class SEquipmentItem extends SObjectItem {
|
|
|
this.update()
|
|
|
return true;
|
|
|
} // Function onDoubleClick()
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 宽高发生变化
|
|
|
*
|