Skip to content

Commit

Permalink
todo done with sb#54 sb#55
Browse files Browse the repository at this point in the history
  • Loading branch information
Nonki Takahashi committed Feb 6, 2019
1 parent c8c18c9 commit ca19a87
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app/components/common/shapes/base-shape.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import * as Konva from "konva";

// TODO:
// Need to factor strokewidth into the size of the shape to have
// parity with the desktop version. Konva counts the stroke width separately.
// Ex: to achieve a total width of 20, radius is (20 - (2*2))/2 = 16/2 = 8 pix.
// Then 8 pix + 2 pix is 10 pix which is half the desired width.
export const strokeWidth: number = 2;

export enum ShapeKind {
Expand Down

0 comments on commit ca19a87

Please sign in to comment.