Commit Graph

888 Commits

Author SHA1 Message Date
Anton Lavrenov
010729dc19 some type fixes. close #869 2020-03-29 07:45:39 -05:00
Anton Lavrenov
7df28d4e50 update CHANGELOG with new version 2020-03-26 15:14:30 -05:00
Anton Lavrenov
3d00d1a344 Fix rounding issues for getClientRect() for some shapes. fix #879 2020-03-26 14:41:06 -05:00
Anton Lavrenov
65e06f200e Fix some issues with mouseenter and mouseleave events. fix #875 2020-03-18 09:41:36 -05:00
Anton Lavrenov
8f18165273 experimental Offscreen canvas support 2020-03-14 21:07:37 -05:00
Anton Lavrenov
b7b50f22d8 fix non-closed hit for Konva.Path. close #867 2020-03-12 09:27:42 -05:00
Anton Lavrenov
2019f8042b Add getActiveAnchor() method to Konva.Transformer 2020-03-03 09:09:21 -05:00
Anton Lavrenov
2e40322b83 fix tests 2020-02-24 20:45:50 -05:00
Anton Lavrenov
7ec68fc501 transformer events fixes, fix readme 2020-02-24 20:39:32 -05:00
Anton Lavrenov
6fbe48e583 allow cloning id 2020-02-17 19:51:18 -05:00
Anton Lavrenov
396297bdfc update CHANGELOG with new version 2020-02-16 07:39:42 -05:00
Anton Lavrenov
86f847a702 Fix wrong internal caching of absolute attributes. fix #843 2020-02-10 08:22:07 -05:00
Anton Lavrenov
1c3a019134 Fix Konva.Transformer behavior on scaled with CSS stage. fix #841. 2020-02-06 10:14:49 -05:00
Anton Lavrenov
1c85a7ee26 fix cursor on anchors for rotated parent. fix#837 2020-01-30 11:41:05 -05:00
Anton Lavrenov
e112c14852 fix calculations 2020-01-27 13:41:18 -05:00
Anton Lavrenov
7f62ccf620 fix docs, fix line calculations, close #829 2020-01-27 13:28:11 -05:00
Anton Lavrenov
f097fe7b2f Add Transform to Konva default exports. So Konva.Transform is available now. close #820 2020-01-07 08:31:28 -05:00
Anton Lavrenov
aab7bf1c0f Fix cache() method of Konva.Arrow(). close #819 2020-01-03 08:59:34 -05:00
Anton Lavrenov
81a8a4eec1 update docs. close #702 2019-12-24 12:15:49 -05:00
Anton Lavrenov
537753cfc2 enable all tests 2019-12-24 11:22:12 -05:00
Anton Lavrenov
76c0e3f272 fix image size detection on zero values. fix #774 2019-12-24 11:21:43 -05:00
Anton Lavrenov
961e61c1bc fix mouseleave on stage. close #811 2019-12-18 13:16:03 -05:00
Anton Lavrenov
7787dfdf14 Make events work on some CSS transforms. fix #792 2019-11-28 12:22:44 -05:00
Anton Lavrenov
65eeb13d66 fix cache with float dimensions. fix #798 2019-11-28 11:51:40 -05:00
Anton Lavrenov
472441fcfe fix text correction. fix #786 2019-11-25 11:25:30 -05:00
Anton Lavrenov
de9a0e24e0 add path test 2019-11-20 13:46:52 -05:00
Anton Lavrenov
ca1ccdaf82 performance update 2019-11-20 13:39:02 -05:00
Anton Lavrenov
af45808d07 Fix path.getClientRect() calculations for Konva.Path 2019-11-14 11:18:12 -05:00
Anton Lavrenov
67d5e362e8 stop triggering click and tap on short drag&drop. fix #784 2019-11-12 15:10:36 -05:00
Anton Lavrenov
680ea026d8 small refactoring 2019-11-12 14:38:36 -05:00
Anton Lavrenov
c2c4f6badd Merge branch 'master' of github.com:konvajs/konva 2019-11-08 11:47:41 -05:00
Anton Lavrenov
bb68b3f1a8 allow hitStrokeWidth usage, even if a shape has not stroke visible. fix #782 2019-11-08 11:37:10 -05:00
Lasse Wallentin
81f930a2ab Fixed zero bounds children resulting in NaN group bounds. 2019-10-23 11:15:20 +02:00
Anton Lavrenov
d82c11ea95 Better calculations for container.getClientRect() 2019-10-21 10:12:10 -05:00
Anton Lavrenov
0669b24cf9 Warn on undefined return value of dragBoundFunc. close #764 2019-10-18 14:09:49 -05:00
Anton Lavrenov
e2e94e08e6 update CHANGELOG with new version 2019-10-15 11:51:13 -05:00
Anton Lavrenov
71261c21bf build and enable all tests 2019-10-11 09:17:54 -05:00
Anton Lavrenov
7de82e5823 fix path calculations 2019-10-11 09:15:38 -05:00
Anton Lavrenov
80c674eb1f Fix globalCompositeOperation + cached hit detections. close #759 2019-10-10 15:52:00 -05:00
Anton Lavrenov
7909283e3d fix absolute position calculations for cached parent. close #753 2019-10-08 15:20:22 -05:00
Anton Lavrenov
201a292a89 clean up 2019-10-07 14:22:52 -05:00
Anton Lavrenov
cf27503518 Fix line.getClientRect() calculations for line with a tension or low number of points 2019-10-02 08:00:06 -05:00
Anton Lavrenov
1fa53d73e0 update CHANGELOG with new version 2019-09-17 12:57:01 -05:00
Anton Lavrenov
1f14bf1fef Fix some bugs when Konva.Transformer has padding > 0 2019-09-17 12:50:28 -05:00
Anton Lavrenov
f16434d6d8 Fix drag position handling. close #739 2019-09-10 12:08:36 -05:00
Anton Lavrenov
e23c288156 repait all tests 2019-09-09 10:56:51 -05:00
Anton Lavrenov
c3f4e53be5 fix multiple selector for find() method. close #735 2019-09-09 10:55:17 -05:00
Anton Lavrenov
c8aa734808 fix test 2019-09-06 14:55:33 -05:00
Anton Lavrenov
456bd9ec91 Fix Konva.Transformer behavior on mirrored nodes. close #732 2019-09-06 14:15:07 -05:00
Anton Lavrenov
be3f7e8059 Fix stage.getPointerPosition() logic. close #733 2019-09-06 13:39:26 -05:00
Anton Lavrenov
2988dce492 fix dragend bug, revert back text fill pattern fix 2019-09-05 13:01:20 -05:00
Anton Lavrenov
cd2853d91d update CHANGELOG with new version 2019-09-03 09:38:19 -05:00
Anton Lavrenov
4383e411b3 Fixed double tap trigger after dragging. close #721 2019-09-02 11:39:22 -05:00
Anton Lavrenov
e325deef1d update CHANGELOG with new version 2019-08-31 16:40:39 -05:00
Anton Lavrenov
0f6ec63fe8 update CHANGELOG with new version 2019-08-17 12:47:48 +07:00
Anton Lavrenov
57d9917b62 fix dragstart bug. close #708 2019-08-12 17:33:27 +07:00
Anton Lavrenov
04968c3b51 Fix nested dragging bug. close #71 2019-08-12 08:42:50 +07:00
Anton Lavrenov
15f5287b34 fix transformer + clone bug. fix #706 2019-08-10 16:57:53 +07:00
Anton Lavrenov
c4be177c9d pointer support check 2019-08-08 22:12:18 +07:00
Anton Lavrenov
0975848dd7 events fixes 2019-08-08 16:24:55 +07:00
Anton Lavrenov
61b46658bc Fixed node.startDrag() behavior. We can call it at any time. 2019-08-08 11:13:55 +07:00
Anton Lavrenov
85d1cdd09c make arrow with tension a bit better 2019-08-07 11:42:35 +07:00
Anton Lavrenov
519bd94a7c prepare new version. Update docs. 2019-08-05 13:54:08 +07:00
Anton Lavrenov
f1846ba996 Merge branch 'master' of github.com:konvajs/konva 2019-08-04 14:46:15 +07:00
Anton Lavrenov
7df6fc4f3f some new files 2019-08-04 14:39:13 +07:00
Anton Lavrenov
34f0f4ae33 drag&drop multitouch 2019-08-04 14:38:57 +07:00
Anton Lavrenov
1d932bf76c better mulitouch 2019-08-04 09:41:57 +07:00
George Gkasdrogkas
5998d38878
feat(ColorToRGBA): support HSL format
closes issue #505
2019-07-28 21:29:01 +03:00
Anton Lavrenov
9cef088d24 Fix wrong double tap trigger 2019-07-18 07:55:22 +07:00
Anton Lavrenov
477a2392ac different values for corner radius. fix #687 2019-07-12 17:12:11 +07:00
Anton Lavrenov
b798a56bff types fixes, konva-node updates 2019-07-11 04:59:39 +07:00
Haochen Wu
46e9243759 add missing semicolon 2019-06-08 22:25:14 -07:00
Haochen Wu
307dfcc911 Fixed set container for dangling stage, related to #510 2019-06-08 22:13:29 -07:00
Anton Lavrenov
2315f542f7 Add new property imageSmoothingEnabled to the node caching 2019-05-30 12:56:24 -05:00
Anton Lavrenov
8252804373 Add new property imageSmoothingEnabled to the layer. some ts fixes. 2019-05-28 15:39:08 -05:00
Anton Lavrenov
b2239a7085 cleanup 2019-05-27 20:25:54 -05:00
Anton Lavrenov
1230f2dd44 fix some Konva.Transformer bugs 2019-05-27 16:16:41 -05:00
Anton Lavrenov
de0d4a6c71 Merge branch 'master' of github.com:konvajs/konva 2019-05-27 14:40:06 -05:00
Anton Lavrenov
da11cf8b01 Merge branch 'wip-pointer-events' of https://github.com/jquense/konva into jquense-wip-pointer-events 2019-05-27 14:39:17 -05:00
William Théroux
5c36b85868 Added ellipse passthrough to context 2019-05-10 00:09:05 +02:00
Jason Quense
9645c5c063 add tests 2019-04-10 10:28:42 -04:00
Anton Lavrenov
a6122178c6 transformer warning, typescript fixes 2019-04-08 12:17:26 -05:00
Anton Lavrenov
49ceea1dfc fix some stage evetns. close #627 2019-04-03 20:28:48 -05:00
Anton Lavrenov
51d880de76 some types updates 2019-04-03 18:08:16 -05:00
Anton Lavrenov
f9c60c99e1 fix hasName method for empty name cases 2019-03-21 07:43:58 -05:00
Anton Lavrenov
0e87ded7ba update CHANGELOG with new version 2019-03-18 14:18:03 -05:00
Anton Lavrenov
3030fe32d1 new property hitStrokeWidth for shapes 2019-03-10 12:35:44 -05:00
Anton Lavrenov
e88a485458 better modules 2019-03-06 22:19:32 -05:00
Anton Lavrenov
daed263c6a back to commonjs 2019-02-27 17:30:47 -05:00
Anton Lavrenov
7c3d9fabae modules fixes 2019-02-27 11:18:21 -05:00
Anton Lavrenov
0d9a27f185 fix drag&drop on mobile 2019-02-27 09:14:07 -05:00
Anton Lavrenov
a62ce96214 fix Transformer bugs 2019-02-27 08:35:30 -05:00
Anton Lavrenov
8962164096 make Konva modular 2019-02-27 08:06:04 -05:00
Anton Lavrenov
13fde9329f update changelog, update test 2019-02-25 08:05:14 -05:00
Anton Lavrenov
75bd2782c6 parcel files 2019-02-25 07:56:17 -05:00
Anton Lavrenov
899d0942ea strokeWidth = 0 bug fix 2019-02-25 07:55:36 -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
aaf0185363 type fixes, fix fast layer bug 2019-02-22 12:46:46 -05:00
Anton Lavrenov
033dbc57cd clean tests 2019-02-20 11:45:24 -05:00
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
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
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
128b5b403e fix array serialization. fix #576 2019-02-11 08:46:34 -05:00
Anton Lavrenov
33d64e194c build fixes, text underline fixes 2019-02-06 12:46:21 -05:00
Anton Lavrenov
9aed313ef2 better test 2019-02-05 21:21: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
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
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
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
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
VladimirTechMan
e6276d28db Minor improvement to the implementation of Text._sceneFunc
As the context's translate() is additive, there is no need for
the two consecutive calls of it inside _sceneFunc(): The same
effect can be achieved with with just one call of translate().

A corresponding update was done in the unit test for Text that
had a pair of calls to translate() in the expected call dump.
2019-01-19 14:56:38 +03:00
Anton Lavrenov
366abc0a79 change test again 2019-01-15 14:58:39 -05:00
Anton Lavrenov
ce5ab7e4cf change test 2019-01-15 14:55:41 -05:00
Anton Lavrenov
5ebef8ef6e some code and comments fixes 2019-01-14 13:29:24 -05: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
Anton Lavrenov
2404368ec8 New ignoreStroke for Konva.Transformer, perf fixes 2018-12-14 13:28:39 -05:00
Anton Lavrenov
d76b09e026 update docs, update version 2018-11-27 09:02:28 -05:00
Anton Lavrenov
352f493d0a getKerning TextPath API is deprecated. Use "kerningFunc" instead. 2018-11-17 08:50:31 -05:00
Anton Lavrenov
7a95e9ad80 update CHANGELOG with new version 2018-10-24 08:02:01 -05:00
Anton Lavrenov
5136e29d6a Fix transformer behaviour on shapes with shadow. fix #481 2018-10-22 12:16:30 -05:00
Anton Lavrenov
2ccc9a7fdd remove logs, update perf test 2018-10-18 15:12:54 -05:00
Anton Lavrenov
f645b22c4a * `dragstart event behaviour is a bit changed. It will fire BEFORE actual position of a node is changed. fix #476 2018-10-18 12:28:03 -05:00
Anton Lavrenov
4cfedeb80a Performance fixes for caching 2018-10-15 16:40:33 -05:00
Anton Lavrenov
ffbb871a02 Fixed a wrong cache when a shape inside group has listening = false 2018-10-12 12:07:04 -05:00
Anton Lavrenov
ac12c32ca0 rect calculation fixes for Path, sprite start fixes. close #465 2018-10-01 14:44:24 +03:00
Anton Lavrenov
15b9d66b20 Fix click stage event on dragend, Fix some Transformer cursor behavior. fix #463 2018-09-27 10:59:27 +03:00
Anton Lavrenov
c0911572e7 getClientRect calculation fix for groups 2018-09-24 14:40:07 +03:00
Anton Lavrenov
77b51bb587 Added some text trim logic to wrap in better 2018-09-24 09:32:54 +03:00
Anton Lavrenov
27f00b1aad bugs fixes 2018-09-22 14:08:22 +03:00
Anton Lavrenov
4ac38ddc1f new centeredScaling for Konva.Transformer 2018-09-19 15:00:27 +03:00
Anton Lavrenov
3cf4707e1a enable tests 2018-09-11 16:23:58 +03:00
Anton Lavrenov
4f70edc8c1 Centered resize with ALT key for Konva.Transformer 2018-09-11 16:15:42 +03:00
Anton Lavrenov
b0c2112ec8 Tween support for gradient properties. fix #454 2018-09-10 18:02:33 +03:00
Dyakin
94bc556b8d Tests cleanup 2018-09-04 13:37:40 +03:00
Anton Lavrenov
98efbca18f vertical align for the text. close #440 2018-08-30 15:18:09 +03:00
Anton Lavrenov
0a6bd95414 add docs, change tests 2018-08-30 13:49:43 +03:00
Anton Lavrenov
973344a3c6 Merge branch 'master' of https://github.com/andrewDyakin/konva into andrewDyakin-master 2018-08-30 13:42:43 +03:00
Anton Lavrenov
738cc8b79c Automatic validations for many attributes. close #436 2018-08-21 15:56:04 +07:00
Anton Lavrenov
973e7932e4 typescript fixes, id warning template 2018-08-21 14:13:53 +07:00
Dyakin
c16e3d1d0b get point at path 2018-08-19 23:19:13 +03:00
Anton Lavrenov
22eee6530f some toDataURL fixes and refactoring 2018-08-16 14:52:42 +07:00
Anton Lavrenov
77af92cbf0 build and test fix 2018-08-09 12:35:21 +07:00
VladimirTechMan
3a8f10687c Merge remote-tracking branch 'upstream/master' 2018-08-02 22:30:21 -04:00
Anton Lavrenov
98d2d6ffe0 better toDataURL for shapes 2018-08-01 09:26:13 +07:00
VladimirTechMan
940fdfe787 Only update the z-indices that do change after reordering nodes
Right now, when updating the z-index of a node in a container,
the indices of all its siblings are refreshed. However, if the
node changes its z-index from z1 to z2, we only need to refresh
the z-indexes of the node's parent's children in the closed
range [ min(z1,z2), max(z1,z2) ]. For groups and layers with
many children that will be more optimal in many cases.

In addition to the above change, this patch:
* forces the parameter of Node#setZIndex() to be in the valid
  range.
* adds the (now absent) unit tests for the methods of Node that
  change z-indices of the parent's children.
2018-07-28 18:56:37 -04:00
Anton Lavrenov
40416a0cee prettier, build 2018-07-24 11:07:13 +07:00
VladimirTechMan
fc2343078a Support offsetX and offsetY when transformsEnabled is set to 'position'
Supporting both x, y and offsetX, offsetY under the 'position' option
of node property transformsEnabled makes it more useful for real apps.

As there is no benefit in making auxiliary variable transformsEnabled
a part of the function closure, it is moved inside the local function
body itself.
2018-07-23 19:47:05 -04:00
Anton Lavrenov
39e022e786 toDataURL fixes 2018-07-18 14:56:46 +07:00
Anton Lavrenov
87820449ad enable all tests 2018-07-12 11:13:00 +07:00
Anton Lavrenov
aaa3461b1f Transformer fixes 2018-07-12 11:04:20 +07:00
Anton Lavrenov
e6c5325ccb toObject fixes 2018-07-05 14:49:02 +07:00
Anton Lavrenov
a106b3e34c Merge branch 'master' of https://github.com/allada/konva into allada-master 2018-07-03 12:09:19 +07:00
Anton Lavrenov
e518e64935 ome drag&drop fixes 2018-07-03 11:03:06 +07:00
Nathan Bruer
56a2c1c43d Test for Transformer scale changes 2018-07-02 14:47:54 -07:00
Nathan Bruer
1cac35652e Test for transformer curor on parent 2018-07-02 11:03:01 -07:00
Anton Lavrenov
136df898c1 add shape as second argument for sceneFunc and hitFunc 2018-06-15 15:17:14 +07:00
Anton Lavrenov
74d7a65b16 Correct cache reset for Konva.Transformer 2018-06-15 13:12:02 +07:00
Anton Lavrenov
be5362dcfa some bugs fixes 2018-06-05 21:28:34 +07:00
Anton Lavrenov
8c475c0637 update node version, cleanup 2018-05-24 11:21:48 +09:00
Anton Lavrenov
9b2d439751 prettier, fix some tests, new test runner 2018-05-24 10:59:08 +09:00
Anton Lavrenov
c08de940e4 fix Konva.Transformer for shapes with offset. close #386 2018-05-17 13:08:29 +09:00
Anton Lavrenov
74d3a12921 automatically change transformer on shape changes. close #391 2018-05-17 07:22:45 +09:00
Anton Lavrenov
902a151699 update CHANGELOG with new version 2018-05-16 12:32:57 +09:00
Anton Lavrenov
566dd7e2f0 fix some event behaviour 2018-05-07 11:57:10 +09:00
Anton Lavrenov
76c20a27c3 fix arrow with tension. close 197 2018-05-04 15:56:08 +09:00
Anton Lavrenov
2ac7e692f6 Better wrap algorithm for Konva.Text 2018-04-30 10:40:49 +08:00
Anton Lavrenov
7d5e0024be transformer and text fixes. close #381 2018-04-24 12:08:02 +08:00
Anton Lavrenov
7cfef08872 build 2018-04-19 14:38:59 +07:00
Anton Lavrenov
272dafe398 fix stage.toDataURL defaults 2018-04-19 14:33:45 +07:00
Anton Lavrenov
f1e7bf0e8e made some caching fixes 2018-04-18 14:25:39 +07:00
Anton Lavrenov
e415e266ab slightly fix getClientRect calculations 2018-04-18 11:27:51 +07:00
Anton Lavrenov
824261ee6f better fix and test 2018-04-11 11:24:09 +07:00
Anton Lavrenov
f01f810423 better behavior of dblclick event when you click fast on different shapes 2018-04-11 11:11:54 +07:00
Anton Lavrenov
f8bd25cbfe fix "same value" detection in setAttr. fix #378 2018-04-11 09:01:10 +07:00
Anton Lavrenov
76d3282fcf boundBoxFunc for Transformer 2018-04-11 08:36:08 +07:00
Anton Lavrenov
504bab7261 refix dash 2018-04-02 10:47:34 +07:00
Adam L
2466ea61b0 refactor findOne method 2018-03-26 22:52:08 -07:00
Adam L
a2c342cf6e migrate find fn to single method 2018-03-24 17:18:11 -07:00
Adam L
8bb59548e5 add findWhere method to Containers 2018-03-21 19:20:59 -07:00
Anton Lavrenov
248f57cd3f more Transformer fixes 2018-03-21 15:21:55 +07:00
Anton Lavrenov
1930ffc9d7 getClientRect cals fixes 2018-03-21 12:04:57 +07:00
Anton Lavrenov
2e93f99aab Transformer optimizations 2018-03-21 09:56:00 +07:00
Anton Lavrenov
fa081dd159 a bit fixes events flow 2018-03-16 10:53:50 +07:00
Anton Lavrenov
21ee8dd492 transformer bug fix 2018-03-16 08:55:02 +07:00
Anton Lavrenov
2f4e127103 update CHANGELOG with new version 2018-03-15 14:11:01 +07:00
Anton Lavrenov
3f8813db9b some fixes and new release 2018-03-15 12:18:46 +07:00
Anton Lavrenov
2e878aa79b bugs fixes 2018-03-15 12:11:58 +07:00
Anton Lavrenov
1a45e953c2 shadow fix and small perf improve 2018-03-12 08:33:35 +07:00
Anton Lavrenov
cf60dd8777 fix path data parsing. close #329 2018-03-10 14:41:41 +07:00
Anton Lavrenov
2944158479 clean up 2018-03-10 10:44:36 +07:00
Anton Lavrenov
a91e00fc05 Merge branch 'add-stroke-gradient' of https://github.com/MaxGraey/konva into MaxGraey-add-stroke-gradient 2018-03-10 09:49:43 +07:00
Anton Lavrenov
ce40d752e8 event fixes 2018-03-01 13:48:03 +08:00
Hauke Broer
591238f667 Add Konva.Text.ellipsis 2018-02-26 11:03:23 +01:00
Anton Lavrenov
da023deb78 fix transformer validation 2018-02-18 11:45:24 +08:00
eugenesqr
587efc86c0 synced with upstream 2018-02-09 15:36:01 +03:00
eugenesqr
054c78dd80 unit tests have been added for TextPath kerning 2018-02-09 13:29:36 +03:00
Anton Lavrenov
8a45c1b4f7 billion transformer fixes 2018-02-09 14:28:19 +07:00
sarthak saxena
1741509cf7
Add tests for basic image contrast + image contrast with tween + image contrast with crop 2018-02-01 02:15:32 +05:30
Anton Lavrenov
8894d75a44 implement off with callbacks 2018-01-12 11:05:12 +07:00
Anton Lavrenov
ac8e682738 update stage events flow, rename resizer to transformer 2018-01-04 10:59:14 +07:00
Anton Lavrenov
460feab0ae update deps, change defualt dragDistance to 3px 2017-08-25 13:25:55 +02:00
Anton Lavrenov
e51e675c86 change getClientRect calc 2017-08-01 22:16:44 +02:00
Anton Lavrenov
c52120d6d6 Merge branch 'deart1mer-master' 2017-07-28 18:55:59 +02:00
Anton Lavrenov
7b6d97aaa5 build and apply prettier 2017-07-28 18:40:07 +02:00
Anton Lavrenov
e430466846 Merge branch 'master' of https://github.com/deart1mer/konva into deart1mer-master 2017-07-28 18:37:35 +02:00
Anton Lavrenov
f520cf34c3 fix getClientRect calc 2017-07-28 18:36:08 +02:00
t1mer
9e179a26a5 test dblclick fix 2017-07-27 23:53:02 +08:00
Anton Lavrenov
3e3186d0d1 pointer position fixes 2017-05-24 21:50:56 +03:00
Anton Lavrenov
4924c4024c fix automatic shadow scaling. close #230 2017-04-25 17:21:45 -05:00
Anton Lavrenov
865577b7e6 fix bug with getAllIntersections and Text shape. close #224 2017-04-21 10:40:41 -05:00
Anton Lavrenov
8e7ce7ff4f test fixes 2017-03-24 09:07:34 -05:00
leMaik
8ae434036f add dashOffset property to shape 2017-03-18 23:10:17 +01:00
leMaik
6c95612677 add lineDashOffset support to context 2017-03-18 22:40:35 +01:00
Anton Lavrenov
59cc7b99f2 setup prettier and make all code better 2017-02-24 09:15:33 -05:00
Anton Lavrenov
bfb859cfca possible travis test fix 2017-02-07 11:50:22 -05:00
Anton Lavrenov
1184bb7e71 tests for line-through 2017-02-07 11:37:01 -05:00
kudlajz
4b48544059 Added support for text strikethrough 2017-02-07 16:44:35 +01:00
mititch
bc7422198d fix mouse events simulation 2017-01-17 14:44:30 +02:00
Anton Lavrenov
e523c86ebd fix memory leak. close #198 2017-01-10 08:27:32 -05:00
Anton Lavrenov
a498609412 shadow blur fix 2016-12-14 12:37:03 -05:00
Anton Lavrenov
b855765736 shadow fixes 2016-12-14 12:14:56 -05:00
Anton Lavrenov
ad8d38d945 fixed wrong opacity level for cached group with opacity. close #191 2016-12-13 07:01:51 -05:00
Anton Lavrenov
b51ae24e33 justify fix for space in line 2016-12-08 11:13:22 -05:00
Anton Lavrenov
9586d9316d justify align for Text and TextPath 2016-12-08 09:08:44 -05:00
Anton Lavrenov
03c65860e8 underline width fix 2016-12-07 17:20:47 -05:00
Anton Lavrenov
265e365b12 underline drawing bug fixes 2016-12-07 17:13:34 -05:00
Anton Lavrenov
37d6eb6541 skip test 2016-12-07 17:01:44 -05:00
Anton Lavrenov
115002aaf6 new property for Konva.Text and Konva.TextPath: textDecoration 2016-12-07 16:48:25 -05:00
Anton Lavrenov
9b92331410 Fixed "calling remove() for dragging shape will throw an error". close #184 2016-11-10 16:41:31 -06:00
Anton Lavrenov
bf339fa6f7 fix baseline 2016-10-28 18:35:34 -06:00
Anton Lavrenov
0d11bff316 align support for Konva.TextPath 2016-10-28 15:30:36 -06:00
Anton Lavrenov
d090e3662e Fixed bug when Konva.Tag width was not changing its width dynamically. close #173 2016-10-25 09:42:32 -06:00
Anton Lavrenov
b12fd40f25 update docs 2016-10-25 09:03:25 -06:00
Anton Lavrenov
658ba2aeac test fixes 2016-10-25 08:51:53 -06:00
Anton Lavrenov
34cb84f616 text shadow test 2016-10-25 07:26:59 -06:00
Igor Kiselev
330ab557ee Fixed transform apply/reset for clipping (#175)
* Fixed transform apply/reset for clipping. Fix #136
2016-10-04 20:18:45 -04:00
Anton Lavrenov
834c1362c6 implement letter spacing for Text Shape 2016-09-20 16:31:30 -04:00
Anton Lavrenov
763788bd32 update CHANGELOG with new version 2016-09-20 09:35:30 -04:00
Anton Lavrenov
3b22252cc3 fix clientRect calculations 2016-09-16 10:12:49 -04:00
Anton Lavrenov
baf3769774 update CHANGELOG with new version 2016-09-15 17:16:29 -04:00
Anton Lavrenov
886bf7c4c5 prevent throw error for undefined text 2016-09-13 14:24:24 -04:00
Anton Lavrenov
5bb4994b0e enable all tests 2016-09-12 07:32:47 -04:00
Anton Lavrenov
e8b2423c82 Better TextPath hit function 2016-09-12 07:28:42 -04:00
Anton Lavrenov
2d5f5a534d lint fix, enable all tests 2016-09-11 10:06:34 -04:00
Anton Lavrenov
8658652589 update CHANGELOG with new version 2016-09-10 08:09:04 -04:00
Anton Lavrenov
f2f675cd6b filters fixes 2016-09-10 07:58:06 -04:00
Anton Lavrenov
2dde724694 fix "removing parent element of a dragging node will throw an error". close #166 2016-08-30 09:07:32 +03:00
ada99
95edb44782 Fix #157 (#158)
* Stringify custom attributes-objects

* Stringify custom attributes-objects
2016-07-09 20:54:28 +07:00
Anton Lavrenov
885a390277 Konva.Text will interpret undefined width and height as AUTO 2016-07-08 10:44:15 +07:00
Anton Lavrenov
aef5e79981 update CHANGELOG with new version 2016-07-05 09:59:41 +07:00
Anton Lavrenov
8004687541 fix bug for touchend event. close #156 2016-07-05 09:04:34 +07:00
Anton Lavrenov
ddc38053c8 update CHANGELOG with new version 2016-06-18 22:32:13 +07:00
Anton Lavrenov
dbcc17041f clipping function 2016-06-18 22:27:19 +07:00
Anton Lavrenov
65b18f626b mouseenter bug fix. close #119 2016-06-07 17:25:32 +07:00
Anton Lavrenov
34d18efcf8 removeChildren() remove only first level children. close #135 2016-05-14 22:06:44 +07:00
Joaquín Cuenca Abela
c61df7ed65 Support fill on open paths 2016-05-13 18:56:22 +02:00
Anton Lavrenov
9470bc5fe2 cleanup 2016-05-06 14:10:50 +07:00
Anton Lavrenov
0f77dc4f8b fix mouseenter bug. close #119 2016-04-26 14:12:04 +07:00
Anton Lavrenov
3c1e2804de better HDPI support
update packages
2016-02-28 16:57:15 +08:00
Anton Lavrenov
e54b378a33 fix wrong Path getClientRect() calculation 2016-02-05 06:51:26 +08:00
Anton Lavrenov
e3596d6c63 repair cancelBubble event property behaviour. fix #123. 2016-01-26 23:21:25 +08:00
Anton Lavrenov
ff82ad1901 optimize change event. close #120 2016-01-07 15:57:36 +08:00
Anton Lavrenov
2e76cfba30 currentTarget fix 2016-01-04 08:31:53 +08:00
Anton Lavrenov
c7ae11cd01 Narrow down getIntersection() result. add optional selector parament to getIntersection function. close #74 2015-12-26 13:12:40 +07:00
Anton Lavrenov
28e8758d29 new node.findAncestors(selector) and node.findAncestor(selector) functions. close #116 2015-12-25 21:35:19 +07:00
Anton Lavrenov
eda967c07e optional parent argument for getAbsolutePosition 2015-12-23 09:18:36 +07:00
lavrton
d1d30c6c1a event delegation support 2015-11-22 10:44:33 +07:00
lavrton
8006bed344 tween array fixes 2015-09-21 15:43:03 +07:00
lavrton
1f9ce30d81 fix cache bug 2015-09-19 23:11:01 +07:00
lavrton
5f2c70ddc7 Tweening a line with different numbers of points. close #92 2015-09-12 12:00:50 +07:00
lavrton
ff6a2bf0cc fix toObject for extended attrs. close #86 2015-08-28 11:36:38 +07:00
lavrton
026423402d update Konva.Node.create flow 2015-08-28 10:29:52 +07:00
lavrton
981f245833 fix test & update deps 2015-08-28 10:11:10 +07:00
Gleb Pospelov
29ba8e7c65 Merge upstream
#79
2015-07-30 04:23:16 +03:00
Gleb Pospelov
268c6bef26 Added simple test
#79
2015-07-30 04:08:33 +03:00
lavrton
c2d9b1d436 better dragging flow 2015-06-02 08:14:54 +07:00
lavrton
74dab77ad4 validation for find and findOne methods 2015-05-25 13:56:19 +07:00