|
@@ -171,7 +171,7 @@ var SGraphyPolygonItem = /** @class */ (function (_super) {
|
|
|
* @return boolean
|
|
|
*/
|
|
|
SGraphyPolygonItem.prototype.onDoubleClick = function (event) {
|
|
|
- this.$emit('doubleClick', { item: this, event: event });
|
|
|
+ this.$emit('doubleClick', event);
|
|
|
return true;
|
|
|
};
|
|
|
/**
|
|
@@ -181,7 +181,7 @@ var SGraphyPolygonItem = /** @class */ (function (_super) {
|
|
|
* @return boolean
|
|
|
*/
|
|
|
SGraphyPolygonItem.prototype.onMouseDown = function (event) {
|
|
|
- this.$emit('mouseDown', { item: this, event: event });
|
|
|
+ this.$emit('mouseDown', event);
|
|
|
return true;
|
|
|
}; // Function onMouseDown()
|
|
|
/**
|
|
@@ -191,7 +191,7 @@ var SGraphyPolygonItem = /** @class */ (function (_super) {
|
|
|
* @return boolean
|
|
|
*/
|
|
|
SGraphyPolygonItem.prototype.onMouseMove = function (event) {
|
|
|
- this.$emit('mouseMove', { item: this, event: event });
|
|
|
+ this.$emit('mouseMove', event);
|
|
|
return true;
|
|
|
}; // Function onMouseMove()
|
|
|
/**
|
|
@@ -201,7 +201,7 @@ var SGraphyPolygonItem = /** @class */ (function (_super) {
|
|
|
* @return boolean
|
|
|
*/
|
|
|
SGraphyPolygonItem.prototype.onMouseUp = function (event) {
|
|
|
- this.$emit('mouseUp', { item: this, event: event });
|
|
|
+ this.$emit('mouseUp', event);
|
|
|
return true;
|
|
|
};
|
|
|
return SGraphyPolygonItem;
|