Anton Lavrenov
645ac49882
more fixes for gradient
2019-02-20 11:33:00 -05:00
Anton Lavrenov
3f410b7d3b
change test a bit
2019-02-20 11:06:39 -05:00
Anton Lavrenov
48bedf8fa9
Fixed gradient drawing for Konva.Text
2019-02-20 11:01:38 -05:00
Anton Lavrenov
febdc9e3d4
fix some docs and tests
2019-02-20 09:13:39 -05:00
Anton Lavrenov
c4f21b67a3
Fixed container change for a stage. fix #510
2019-02-19 20:43:06 -05:00
Anton Lavrenov
0ae1f66b60
Private method stage._setPointerPosition()
is deprecated
...
New method `stage.setPointersPositions(event)`
2019-02-19 20:17:49 -05:00
Anton Lavrenov
ab4a14abce
deprecate getTextHeight
2019-02-19 08:41:32 -05:00
Anton Lavrenov
1b065a55a0
ixed automatic updates for Konva.Transformer
2019-02-19 08:36:16 -05:00
Anton Lavrenov
74210cbc79
fix caching issues. close #581
2019-02-18 12:38:17 -05:00
Anton Lavrenov
7b22a7ae50
Merge branch 'master' of github.com:konvajs/konva
2019-02-18 12:18:16 -05:00
Anton Lavrenov
40cf5a5909
fix some docs, partial cache fixes
2019-02-18 12:12:03 -05:00
Anton Lavrenov
6b745892e5
Merge pull request #580 from VladimirTechMan/master
...
Proposal: Using ECMAScript 6 Map for Node._cache instead of plain Object
2019-02-18 08:59:05 -05:00
VladimirTechMan
26d40ae1f9
Proposal: Using ECMAScript 6 Map for Node._cache instead of plain Object
2019-02-17 23:59:08 +03:00
Anton Lavrenov
1dea3696a2
configure what mouse buttons can be used for drag&drop
2019-02-14 10:33:58 -05:00
Anton Lavrenov
dcff79eb63
more warnings and methods
2019-02-13 23:41:32 -05:00
Anton Lavrenov
99e66c380f
cache patterns and gradients
2019-02-13 22:04:54 -05:00
Anton Lavrenov
1b6238cbb2
add backers section
2019-02-11 10:55:06 -05:00
Anton Lavrenov
0880f89e66
build
2019-02-11 08:49:30 -05:00
Anton Lavrenov
12fc838709
Merge branch 'master' of github.com:konvajs/konva
2019-02-11 08:47:24 -05:00
Anton Lavrenov
128b5b403e
fix array serialization. fix #576
2019-02-11 08:46:34 -05:00
Anton Lavrenov
8041188403
Merge pull request #575 from VladimirTechMan/master
...
Minor corrections to the existing code
2019-02-09 14:45:28 -05:00
VladimirTechMan
7cd4905ce5
Minor corrections to the existing code
...
Removing one redundant variable and one small typo in a comment.
2019-02-09 22:22:19 +03:00
Anton Lavrenov
fb076b10be
Merge pull request #574 from VladimirTechMan/master
...
Setting DD.node to null instead of deleting
2019-02-09 12:06:57 -05:00
VladimirTechMan
5753af88bf
Setting DD.node to null instead of deleting
...
In the footsteps of my previous commit. This one replaces the deletion
of DD.node with setting it to null.
2019-02-09 19:49:22 +03:00
Anton Lavrenov
12fbe870bd
update changelog
2019-02-06 12:48:05 -05:00
Anton Lavrenov
33d64e194c
build fixes, text underline fixes
2019-02-06 12:46:21 -05:00
Anton Lavrenov
08b3fb159e
update deps
2019-02-06 12:03:53 -05:00
Anton Lavrenov
0f4681e9be
remove some content events usage
2019-02-05 21:32:29 -05:00
Anton Lavrenov
9aed313ef2
better test
2019-02-05 21:21:57 -05:00
Anton Lavrenov
052d090ea3
Merge branch 'master' of github.com:konvajs/konva
2019-02-05 16:43:57 -05:00
Anton Lavrenov
b02ac65e68
fix docs, Better implementation of mouseover
event for stage
2019-02-05 16:43:43 -05:00
Anton Lavrenov
075431cc2d
Merge pull request #567 from VladimirTechMan/master
...
When removing a child, set key "parent" to null, don't delete it
2019-02-04 09:13:22 -05:00
VladimirTechMan
15e7477e81
When removing a child, set key "parent" to null, don't delete it
...
Structural changes to objects are relatively more expensive and
harder to optimize for modern JavaScript compilers, compared to
just changing object's key values. The parent property of nodes
is already set to null now, as part constructing the object.
Setting it back to null on removal / destroy of objects is more
consistent and a tiny little bit more efficient.
2019-02-03 22:47:50 +03:00
Anton Lavrenov
6b1cf1d306
Merge pull request #565 from VladimirTechMan/master
...
Fix for the performance regression in the updated batchDraw()
2019-02-03 10:56:56 -05:00
VladimirTechMan
09bfaab9f2
Fix for the performance regression in the updated batchDraw()
...
The code was checking the "waiting" flags, but they were not set.
This patch corrects that part and makes a few other tweaks to the
updated logic on top of requestAnimationFrame().
2019-02-03 14:21:41 +03:00
Anton Lavrenov
31785f6323
Show a warning for incorrect value for component setters. Fix some TODOs
2019-01-27 15:43:50 -05:00
Anton Lavrenov
a0b2f027ba
drag&drop refactor, update docs
2019-01-25 00:20:15 -05:00
Anton Lavrenov
11d805795a
warning on dublicate ids
2019-01-24 22:52:16 -05:00
Anton Lavrenov
645c344d32
3.0.0-0
2019-01-24 08:47:04 -05:00
Anton Lavrenov
54e9aeffa7
ignore types in git
2019-01-24 08:46:54 -05:00
Anton Lavrenov
ed1e8c284b
change types
2019-01-24 08:46:38 -05:00
Anton Lavrenov
d726c5d6f3
add docs, change perf test
2019-01-24 08:45:17 -05:00
Anton Lavrenov
a81f9ec1f9
Show a warning when a stage has too many layers
2019-01-22 08:43:43 -05:00
Anton Lavrenov
41a46c8afe
clean up some methods
2019-01-21 21:22:36 -05:00
Anton Lavrenov
3a89a7a0c1
Merge branch 'master' of github.com:konvajs/konva
2019-01-21 19:30:54 -05:00
Anton Lavrenov
20f07dd3ce
Merge pull request #550 from VladimirTechMan/master
...
Simpler code logic for Node._isVisible()
2019-01-21 19:30:39 -05:00
Anton Lavrenov
0057841032
Merge branch 'master' of github.com:konvajs/konva
2019-01-21 19:29:57 -05:00
Anton Lavrenov
d49ee3dff1
fix tests for HDPI
2019-01-21 17:50:42 -05:00
Anton Lavrenov
7aa3c3238d
several fixes
2019-01-21 17:42:02 -05:00
VladimirTechMan
d823beefb0
Simpler code logic for Node._isVisible()
...
The original logic can be implemented in a more compact and clear
way while producing the same results.
2019-01-21 23:50:07 +03:00