Commit Graph

2480 Commits

Author SHA1 Message Date
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
Anton Lavrenov
81b71d76a4
Merge pull request #547 from VladimirTechMan/master
Make the calls to getGlobalKonva() working in the current code base
2019-01-21 15:02:15 -05:00
Anton Lavrenov
199bbbbff1 some fixes 2019-01-20 18:06:46 -05:00
VladimirTechMan
0be8e779bc Fix the calls to getGlobalKonva() inside the current code base
Following the recent migration to TypeScript, getGlobalKonva()
returns undefined (as glob.Konva was not set) when using konva.js
or konva.min.js inside a web application running in a browser.
This change works around the situation by explicitly setting the
Konva property on the glob object.
2019-01-20 12:12:12 +03:00
Anton Lavrenov
d960cf5c67
Merge pull request #546 from VladimirTechMan/master
Fix handling of the width and hight changes in the Stage class
2019-01-19 21:31:51 -05:00
Anton Lavrenov
521070cb05 fix watch mode 2019-01-19 21:29:52 -05:00
VladimirTechMan
eb73c96a3a Fix handling of the width and hight changes in the Stage class
Just resize the DOM elements, don't replace the current contents
with a new (empty) one.
2019-01-19 23:52:34 +03:00
Anton Lavrenov
76299cd07a skip test 2019-01-19 10:46:24 -05:00
Anton Lavrenov
44bf0a69ca remove old checks 2019-01-19 10:39:26 -05:00
Anton Lavrenov
d660efe9fa fix log 2019-01-19 10:31:07 -05:00
Anton Lavrenov
3002891f5e more info in tests 2019-01-19 10:26:21 -05:00
Anton Lavrenov
cab03b5a88 skip test 2019-01-19 10:15:11 -05:00
Anton Lavrenov
a5d6e93c31 Merge branch 'master' of github.com:konvajs/konva 2019-01-19 10:13:43 -05:00
Anton Lavrenov
53fdd52814
Merge pull request #545 from VladimirTechMan/master
Minor improvement to the implementation of Text._sceneFunc
2019-01-19 10:13:34 -05:00
Anton Lavrenov
5c4df70738 update docs 2019-01-19 10:13:21 -05:00