Skip to content

Commit

Permalink
Merge pull request #15 from tshaddix/v1.0.3
Browse files Browse the repository at this point in the history
v1.0.3
  • Loading branch information
tshaddix authored Nov 16, 2023
2 parents 4684889 + ab460d8 commit 858b32e
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/index.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/build/example.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/build/example.es.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/build/example.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/build/example.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paintbricks",
"version": "1.0.2",
"version": "1.0.3",
"description": "An extendable drawing system built for the web.",
"exports": {
".": {
Expand Down
4 changes: 2 additions & 2 deletions src/tools/HighlighterTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export class HighlighterTool {
constructor(
color: string = "yellow",
width: number = 8,
opacity: Number = 0.3,
opacity: number = 0.3,
) {
this.width = width;

// calculate color w/ opacity
this.color = alpha(color, 0.4);
this.color = alpha(color, opacity);
}

/**
Expand Down

0 comments on commit 858b32e

Please sign in to comment.