Skip to content

Commit 513b041

Browse files
committed
fix build errors
1 parent 54d45dd commit 513b041

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

src/tools/select.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
// doc imports
44
/* eslint-disable no-unused-vars */
5+
import Konva from 'konva';
56
import {ViewController} from '../app/viewController';
67
import {Style} from '../gui/style';
8+
import {Point2D} from '../math/point';
79
/* eslint-enable no-unused-vars */
810

911
/**
@@ -41,9 +43,9 @@ export class Select {
4143
/**
4244
* Create an arrow shape to be displayed.
4345
*
44-
* @param {Point2D[]} points The points from which to extract the line.
45-
* @param {Style} style The drawing style.
46-
* @param {ViewController} viewController The associated view controller.
46+
* @param {Point2D[]} _points The points from which to extract the line.
47+
* @param {Style} _style The drawing style.
48+
* @param {ViewController} _viewController The associated view controller.
4749
* @returns {Konva.Group} The Konva group.
4850
*/
4951
create(_points, _style, _viewController) {
@@ -56,8 +58,8 @@ export class Select {
5658
/**
5759
* Update an arrow shape.
5860
*
59-
* @param {Konva.Ellipse} anchor The active anchor.
60-
* @param {Style} style The app style.
61+
* @param {Konva.Ellipse} _anchor The active anchor.
62+
* @param {Style} _style The app style.
6163
* @param {ViewController} _viewController The associated view controller.
6264
*/
6365
update(_anchor, _style, _viewController) {

src/tools/zoomIn.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
// doc imports
99
/* eslint-disable no-unused-vars */
1010
import {App} from '../app/application';
11+
import {Point2D} from '../math/point';
1112
/* eslint-enable no-unused-vars */
1213

1314
/**
@@ -71,7 +72,7 @@ export class ZoomIn {
7172
/**
7273
* Start tool interaction.
7374
*
74-
* @param {Point2D} point The start point.
75+
* @param {Point2D} _point The start point.
7576
*/
7677
#start(_point) {
7778
this.#started = true;
@@ -92,8 +93,8 @@ export class ZoomIn {
9293
/**
9394
* Update tool interaction.
9495
*
95-
* @param {Point2D} point The update point.
96-
* @param {string} divId The layer group divId.
96+
* @param {Point2D} _point The update point.
97+
* @param {string} _divId The layer group divId.
9798
*/
9899
#update(_point, _divId) {
99100
// does nothing

src/tools/zoomOut.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
// doc imports
99
/* eslint-disable no-unused-vars */
1010
import {App} from '../app/application';
11+
import {Point2D} from '../math/point';
1112
/* eslint-enable no-unused-vars */
1213

1314
/**
@@ -71,7 +72,7 @@ export class ZoomOut {
7172
/**
7273
* Start tool interaction.
7374
*
74-
* @param {Point2D} point The start point.
75+
* @param {Point2D} _point The start point.
7576
*/
7677
#start(_point) {
7778
this.#started = true;
@@ -92,8 +93,8 @@ export class ZoomOut {
9293
/**
9394
* Update tool interaction.
9495
*
95-
* @param {Point2D} point The update point.
96-
* @param {string} divId The layer group divId.
96+
* @param {Point2D} _point The update point.
97+
* @param {string} _divId The layer group divId.
9798
*/
9899
#update(_point, _divId) {
99100
// does nothing

0 commit comments

Comments
 (0)