js-draw 0.11.1 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/github-pages.yml +2 -0
- package/CHANGELOG.md +9 -0
- package/dist/bundle.js +1 -1
- package/dist/src/EditorImage.js +1 -11
- package/dist/src/math/Rect2.d.ts +1 -0
- package/dist/src/math/Rect2.js +20 -0
- package/dist/src/toolbar/IconProvider.js +5 -3
- package/dist/src/tools/Eraser.js +2 -0
- package/dist/src/tools/TextTool.js +17 -6
- package/dist/src/tools/ToolController.js +3 -3
- package/package.json +1 -1
- package/src/EditorImage.ts +1 -11
- package/src/math/Rect2.test.ts +22 -0
- package/src/math/Rect2.ts +26 -0
- package/src/toolbar/IconProvider.ts +5 -3
- package/src/tools/Eraser.ts +2 -0
- package/src/tools/TextTool.ts +18 -6
- package/src/tools/ToolController.ts +3 -3
@@ -42,6 +42,8 @@ jobs:
|
|
42
42
|
run: yarn doc
|
43
43
|
- name: Build
|
44
44
|
run: cd docs/example && yarn install && yarn build
|
45
|
+
- name: Remove flies that don't need to be uploaded
|
46
|
+
run: cd docs/ && rm -rf example*/node_modules/
|
45
47
|
- name: Setup Pages
|
46
48
|
uses: actions/configure-pages@v2
|
47
49
|
- name: Upload artifact
|
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 0.11.3
|
2
|
+
* Adjust default pen sizes.
|
3
|
+
* Fix arrow/line icons being difficult to see with very thin stroke sizes.
|
4
|
+
* Potential fix for content of current text input being discarded when clicking "save".
|
5
|
+
* Loading images: Minor performance improvement.
|
6
|
+
|
7
|
+
# 0.11.2
|
8
|
+
* Fix eraser regression: Erasing multiple strokes, one after another, caused strokes to un-erase.
|
9
|
+
|
1
10
|
# 0.11.1
|
2
11
|
* Performance: Faster eraser and selection tools.
|
3
12
|
* Bug fixes
|