(x, y)
| 354 | }) |
| 355 | } |
| 356 | editBegin(x, y) { |
| 357 | this.current_edit = { |
| 358 | type: "edit", |
| 359 | id: this.editor.getOptionValue("tool"), |
| 360 | options: Object.assign({}, this.editor.options), |
| 361 | points: [{ x: x, y: y }], |
| 362 | } |
| 363 | } |
| 364 | editMove(x, y) { |
| 365 | if (this.current_edit) { |
| 366 | this.current_edit.points.push({ x: x, y: y }) |
no test coverage detected