Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcanray committed Mar 26, 2024
1 parent 54d45dd commit 513b041
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
12 changes: 7 additions & 5 deletions src/tools/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

// doc imports
/* eslint-disable no-unused-vars */
import Konva from 'konva';
import {ViewController} from '../app/viewController';
import {Style} from '../gui/style';
import {Point2D} from '../math/point';
/* eslint-enable no-unused-vars */

/**
Expand Down Expand Up @@ -41,9 +43,9 @@ export class Select {
/**
* Create an arrow shape to be displayed.
*
* @param {Point2D[]} points The points from which to extract the line.
* @param {Style} style The drawing style.
* @param {ViewController} viewController The associated view controller.
* @param {Point2D[]} _points The points from which to extract the line.
* @param {Style} _style The drawing style.
* @param {ViewController} _viewController The associated view controller.
* @returns {Konva.Group} The Konva group.
*/
create(_points, _style, _viewController) {
Expand All @@ -56,8 +58,8 @@ export class Select {
/**
* Update an arrow shape.
*
* @param {Konva.Ellipse} anchor The active anchor.
* @param {Style} style The app style.
* @param {Konva.Ellipse} _anchor The active anchor.
* @param {Style} _style The app style.
* @param {ViewController} _viewController The associated view controller.
*/
update(_anchor, _style, _viewController) {
Expand Down
7 changes: 4 additions & 3 deletions src/tools/zoomIn.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
// doc imports
/* eslint-disable no-unused-vars */
import {App} from '../app/application';
import {Point2D} from '../math/point';
/* eslint-enable no-unused-vars */

/**
Expand Down Expand Up @@ -71,7 +72,7 @@ export class ZoomIn {
/**
* Start tool interaction.
*
* @param {Point2D} point The start point.
* @param {Point2D} _point The start point.
*/
#start(_point) {
this.#started = true;
Expand All @@ -92,8 +93,8 @@ export class ZoomIn {
/**
* Update tool interaction.
*
* @param {Point2D} point The update point.
* @param {string} divId The layer group divId.
* @param {Point2D} _point The update point.
* @param {string} _divId The layer group divId.
*/
#update(_point, _divId) {
// does nothing
Expand Down
7 changes: 4 additions & 3 deletions src/tools/zoomOut.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
// doc imports
/* eslint-disable no-unused-vars */
import {App} from '../app/application';
import {Point2D} from '../math/point';
/* eslint-enable no-unused-vars */

/**
Expand Down Expand Up @@ -71,7 +72,7 @@ export class ZoomOut {
/**
* Start tool interaction.
*
* @param {Point2D} point The start point.
* @param {Point2D} _point The start point.
*/
#start(_point) {
this.#started = true;
Expand All @@ -92,8 +93,8 @@ export class ZoomOut {
/**
* Update tool interaction.
*
* @param {Point2D} point The update point.
* @param {string} divId The layer group divId.
* @param {Point2D} _point The update point.
* @param {string} _divId The layer group divId.
*/
#update(_point, _divId) {
// does nothing
Expand Down

0 comments on commit 513b041

Please sign in to comment.