konva 10.0.3 → 10.0.5
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/konva.js +4 -6
- package/konva.min.js +3 -3
- package/lib/Container.d.ts +1 -1
- package/lib/DragAndDrop.d.ts +1 -27
- package/lib/Global.js +1 -1
- package/lib/Layer.d.ts +1 -1
- package/lib/Node.d.ts +7 -110
- package/lib/Node.js +1 -1
- package/lib/PointerEvents.d.ts +1 -1
- package/lib/Shape.d.ts +1 -1
- package/lib/Stage.d.ts +2 -2
- package/lib/_CoreInternals.d.ts +2 -28
- package/lib/_FullInternals.d.ts +2 -28
- package/lib/shapes/Rect.d.ts +2 -2
- package/lib/shapes/TextPath.js +0 -2
- package/lib/shapes/Transformer.d.ts +2 -54
- package/package.json +1 -1
package/konva.js
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
})(this, (function () { 'use strict';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
* Konva JavaScript Framework v10.0.
|
|
8
|
+
* Konva JavaScript Framework v10.0.5
|
|
9
9
|
* http://konvajs.org/
|
|
10
10
|
* Licensed under the MIT
|
|
11
|
-
* Date:
|
|
11
|
+
* Date: Wed Oct 22 2025
|
|
12
12
|
*
|
|
13
13
|
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
|
|
14
14
|
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
: {};
|
|
36
36
|
const Konva$2 = {
|
|
37
37
|
_global: glob,
|
|
38
|
-
version: '10.0.
|
|
38
|
+
version: '10.0.5',
|
|
39
39
|
isBrowser: detectBrowser(),
|
|
40
40
|
isUnminified: /param/.test(function (param) { }.toString()),
|
|
41
41
|
dblClickWindow: 400,
|
|
@@ -3430,7 +3430,7 @@ js: import "konva/skia-backend";
|
|
|
3430
3430
|
* @returns {Object}
|
|
3431
3431
|
*/
|
|
3432
3432
|
getAttrs() {
|
|
3433
|
-
return
|
|
3433
|
+
return this.attrs || {};
|
|
3434
3434
|
}
|
|
3435
3435
|
/**
|
|
3436
3436
|
* set multiple attrs at once using an object literal
|
|
@@ -15658,7 +15658,6 @@ js: import "konva/skia-backend";
|
|
|
15658
15658
|
if (i === 0) {
|
|
15659
15659
|
context.moveTo(0, fontSize / 2 + 1);
|
|
15660
15660
|
}
|
|
15661
|
-
console.log('underline log');
|
|
15662
15661
|
context.lineTo(glyphInfo[i].width, fontSize / 2 + 1);
|
|
15663
15662
|
}
|
|
15664
15663
|
context.restore();
|
|
@@ -15674,7 +15673,6 @@ js: import "konva/skia-backend";
|
|
|
15674
15673
|
if (hasUnderline) {
|
|
15675
15674
|
context.strokeStyle = fill;
|
|
15676
15675
|
context.lineWidth = fontSize / 20;
|
|
15677
|
-
console.log('underline log');
|
|
15678
15676
|
context.stroke();
|
|
15679
15677
|
}
|
|
15680
15678
|
if (hasLineThrough) {
|