Anton Lavrenov
98afa3fac6
refactoring
2019-02-23 20:54:20 -05:00
Anton Lavrenov
472bb1cf63
fix recache bug
2019-02-23 09:40:32 -05:00
Anton Lavrenov
605725fe43
cache fix
2019-02-22 22:13:37 -05:00
Anton Lavrenov
1b065a55a0
ixed automatic updates for Konva.Transformer
2019-02-19 08:36:16 -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
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
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
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
0f4681e9be
remove some content events usage
2019-02-05 21:32:29 -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
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
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
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
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
Anton Lavrenov
199bbbbff1
some fixes
2019-01-20 18:06:46 -05:00
Anton Lavrenov
a5d6e93c31
Merge branch 'master' of github.com:konvajs/konva
2019-01-19 10:13:43 -05:00
Anton Lavrenov
5c4df70738
update docs
2019-01-19 10:13:21 -05:00
VladimirTechMan
30d304556f
Very minor optimization to _getCache()
...
This is just a minor change to avoid accessing the same property
in object this._cache twice inside _getCache() when its is already
set (defined). No big performance improvements probably, but given
that the cached values can be checked many times for each node
in the tree, I think it makes sense to do that small improvement.
2019-01-16 19:42:41 +03:00
Anton Lavrenov
830eb53650
bugs fixes, docs updates. fix #535
2019-01-11 08:51:46 -05:00
Anton Lavrenov
52f2b8178b
docs updatesx
2019-01-06 03:01:20 -05:00
Anton Lavrenov
4d58cd6479
initial migrate to typescript
2019-01-01 15:59:27 -05:00