diff --git a/CHANGELOG.md b/CHANGELOG.md
index defbe5c..f26919d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,10 @@
+## [1.0.2](https://github.com/seleb/draw-1-bit/compare/v1.0.1...v1.0.2) (2021-05-18)
+
+
+### Bug Fixes
+
+* handling of defaults ([c710787](https://github.com/seleb/draw-1-bit/commit/c710787656f582bdd6ed057b446eba201783d2db))
+
## [1.0.1](https://github.com/seleb/draw-1-bit/compare/v1.0.0...v1.0.1) (2021-05-18)
diff --git a/docs/classes/default.html b/docs/classes/default.html
index 6e9626a..f1db01e 100644
--- a/docs/classes/default.html
+++ b/docs/classes/default.html
@@ -133,19 +133,19 @@
Constructors
constructor
- - new default(options: { colorBg?: string; colorFill?: string; colorGrid?: string; colorHover?: string; filled?: Record<string, undefined | boolean>; gridLimit?: number; gridSize?: number; height: number; locked?: Record<string, undefined | boolean>; width: number }): default
+ - new default(__namedParameters: { colorBg?: string; colorFill?: string; colorGrid?: string; colorHover?: string; filled?: Record<string, undefined | boolean>; gridLimit?: number; gridSize?: number; height: number; locked?: Record<string, undefined | boolean>; width: number }): default
-
Parameters
-
-
options: { colorBg?: string; colorFill?: string; colorGrid?: string; colorHover?: string; filled?: Record<string, undefined | boolean>; gridLimit?: number; gridSize?: number; height: number; locked?: Record<string, undefined | boolean>; width: number }
+ __namedParameters: { colorBg?: string; colorFill?: string; colorGrid?: string; colorHover?: string; filled?: Record<string, undefined | boolean>; gridLimit?: number; gridSize?: number; height: number; locked?: Record<string, undefined | boolean>; width: number }
-
Optional colorBg?: string
@@ -273,7 +273,7 @@ canvas
canvas: HTMLCanvasElement
@@ -283,7 +283,7 @@ colorBg
colorBg: string
@@ -293,7 +293,7 @@ colorFill
colorFill: string
@@ -303,7 +303,7 @@ colorGrid
colorGrid: string
@@ -313,7 +313,7 @@ colorHover
colorHover: string
@@ -323,7 +323,7 @@ context
context: CanvasRenderingContext2D
@@ -333,7 +333,7 @@ filled
filled: Record<string, undefined | boolean>
@@ -343,7 +343,7 @@ Private filling
filling: undefined | boolean
@@ -353,7 +353,7 @@ gridLimit
gridLimit: number
@@ -363,7 +363,7 @@ gridSize
gridSize: number
@@ -373,7 +373,7 @@ Private height
height: number
@@ -383,7 +383,7 @@ locked
locked: Record<string, undefined | boolean>
@@ -393,7 +393,7 @@ Private pfilling
pfilling: undefined | boolean
@@ -403,7 +403,7 @@ Private px
px: number
@@ -413,7 +413,7 @@ Private py
py: number
@@ -423,7 +423,7 @@ Private width
width: number
@@ -433,7 +433,7 @@ Private x
x: number
@@ -443,7 +443,7 @@ Private y
y: number
@@ -460,7 +460,7 @@ addEventListener
-
Parameters
@@ -484,7 +484,7 @@ fill
-
Parameters
@@ -502,7 +502,7 @@
lock
Parameters
@@ -558,7 +558,7 @@Returns boolean-
@@ -595,7 +595,7 @@ -
Private move
Parameters
@@ -618,7 +618,7 @@Private onCanvasMove<
-
-
Parameters
@@ -641,7 +641,7 @@Private onDown
Parameters
@@ -664,7 +664,7 @@Private onMouseOut
-
Returns void
@@ -681,7 +681,7 @@Private onUp
Returns void
@@ -698,7 +698,7 @@Private onWindowMove<
-
-
-
@@ -766,7 +766,7 @@ -
@@ -799,7 +799,7 @@ -
Parameters
@@ -721,7 +721,7 @@removeEventListener
Parameters
@@ -744,7 +744,7 @@render
resize
Private resizeCanvas
Returns void
diff --git a/package-lock.json b/package-lock.json index 068dd61..f863cff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "draw-1-bit", - "version": "1.0.1", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 07a823c..9694282 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "draw-1-bit", - "version": "1.0.1", + "version": "1.0.2", "description": "simple 1-bit 2D canvas drawing interface", "main": "build/main/index.js", "typings": "build/main/index.d.ts",