Commit Graph

518 Commits

Author SHA1 Message Date
Anton Lavrenov
8359287949 fix path parse. close #851 2021-05-06 14:23:04 -05:00
Anton Lavrenov
7bd5c62ee3 tests refactor, clean build 2021-05-05 09:19:24 -05:00
Anton Lavrenov
1c6bc48c83 autodraw 2021-05-04 08:57:03 -05:00
Anton Lavrenov
c926bd623c initial tests migration 2021-04-30 09:24:27 -05:00
Anton Lavrenov
42276bfce2 update CHANGELOG with new version 2021-03-03 12:06:37 -05:00
Anton Lavrenov
015707c455 Fix wrong mouseleave trigger for Konva.Stage 2021-02-19 13:01:23 -05:00
Anton Lavrenov
24d069212c Fix transformer rotation when parent of a node is rotated too 2021-02-12 16:44:00 -05:00
Anton Lavrenov
a86aa4ef28 update CHANGELOG with new version 2020-12-18 11:13:13 -05:00
Anton Lavrenov
6fcfd4de54 Fix ellipsis rendering for Konva.Text 2020-12-18 11:12:19 -05:00
Anton Lavrenov
d5d6af43fa Fix wrong size calculations for Konva.Line with tension. fix #1030 2020-12-16 14:13:25 -05:00
Anton Lavrenov
7b69e5b2f6 Fix shape.intersects() behavior when a node is dragged 2020-12-11 11:12:40 -05:00
Anton Lavrenov
837cf3d53a Fix correct transformstart and transformend events when several nodes are attached with Konva.Transformer 2020-12-07 11:10:40 -05:00
Anton Lavrenov
ceae701fd8 Fix correct rendering of Konva.Label when heigh of text is changed 2020-11-25 10:19:40 -05:00
Anton Lavrenov
14156b3222 Fix rendering of TextPath one more time 2020-11-23 10:09:11 -05:00
Anton Lavrenov
f50019f176 New property fillAfterStrokeEnabled for Konva.Shape 2020-11-22 13:49:15 -05:00
Anton Lavrenov
37779c9658 update CHANGELOG with new version 2020-11-20 12:22:16 -05:00
Anton Lavrenov
184322e2a9 Fix autodrawing for Konva.Transformer when it is on a different layer 2020-11-20 12:21:15 -05:00
Anton Lavrenov
0e2a09ba46 fix regular polygin size calculations. close #1015 2020-11-17 14:09:25 -05:00
Anton Lavrenov
c36eb211a2 update CHANGELOG with new version 2020-11-17 11:22:28 -05:00
Anton Lavrenov
1f99819dcc update CHANGELOG with new version 2020-11-16 11:13:08 -05:00
Anton Lavrenov
ae8dd87e2f Fix incorrect rendering of TextPath in some cases 2020-11-16 11:12:23 -05:00
Anton Lavrenov
0830819eba Fix for correct image/dataURL/canvas exports for Konva.Stage. 2020-11-10 12:50:29 -05:00
Anton Lavrenov
cac47ed03b update CHANGELOG with new version 2020-11-10 09:01:00 -05:00
Anton Lavrenov
a0806dd49a update CHANGELOG with new version 2020-10-21 16:42:22 -05:00
Anton Lavrenov
f4d566e431 Fix double dragend, dragstart, dragmove triggers on Konva.Transformer 2020-10-12 09:11:46 -05:00
Anton Lavrenov
64373c7eac fix ts iterations 2020-10-12 08:49:18 -05:00
Anton Lavrenov
160b44b94d Fix double dragend trigger on Konva.Transformer. close #988 2020-09-25 09:09:35 -05:00
Anton Lavrenov
6cb86685f7 text rendering fixes 2020-09-17 09:39:15 -05:00
Anton Lavrenov
0e1afd3d5c fix ellipsis for Konva.Text 2020-09-16 09:55:40 -05:00
Anton Lavrenov
fa33896e6b revert perf fix 2020-09-14 14:30:03 -05:00
Anton Lavrenov
9bd68eacf1 Some performance fixes and optimizations 2020-09-14 13:41:32 -05:00
Anton Lavrenov
1edb5ef55c fix evt property when transformer is used. fix #981 2020-09-14 13:01:45 -05:00
Anton Lavrenov
4b69631782 Better unicode support in Konva.Text and Konva.TextPath. Emoji should work better now 👍. fix #690 2020-09-14 09:46:26 -05:00
Anton Lavrenov
d8362ac76a update CHANGELOG with new version 2020-09-07 11:05:26 -05:00
Anton Lavrenov
103ad23929 multirow support for ellipses config for Konva.Text. close #970 2020-09-07 11:03:20 -05:00
Anton Lavrenov
73988783e0 update CHANGELOG with new version 2020-09-02 13:27:09 -05:00
Anton Lavrenov
4a29a1e109 dragstart fixes when transformer is used 2020-09-02 12:50:41 -05:00
Anton Lavrenov
02ec2c4e61 string and fill properties validation can accept CanvasGradient as valid value. close #965 2020-08-26 09:54:03 -05:00
Anton Lavrenov
1634103d0e better stage drag performance 2020-08-21 12:09:58 -05:00
Anton Lavrenov
970473a56f fix test 2020-08-08 09:45:01 -05:00
Anton Lavrenov
dd84716715 performance updates 2020-07-30 10:44:15 -05:00
Anton Lavrenov
2dbde0fd6f update change log 2020-07-27 10:20:56 -05:00
Anton Lavrenov
b5e7362d26 update CHANGELOG with new version 2020-07-09 16:50:50 -05:00
Anton Lavrenov
8bf97ba8c1 types fixes. close #945 2020-07-06 10:20:47 -05:00
Anton Lavrenov
bdfa9f2225 update CHANGELOG with new version 2020-06-30 13:04:06 -05:00
Anton Lavrenov
910273f2c6 update CHANGELOG with new version 2020-06-29 12:14:39 -05:00
Anton Lavrenov
466f4ef875 add last fix 2020-06-25 12:20:01 -05:00
Anton Lavrenov
08d1ca7c5f font fixes. close #910 2020-06-25 12:18:31 -05:00
Anton Lavrenov
0bbae02bb4 better change log 2020-06-23 20:41:24 -05:00
Anton Lavrenov
24cae3da24 update CHANGELOG with new version 2020-06-23 18:07:53 -05:00
Anton Lavrenov
f664606b8f dragmove will trigger on Transformer and when all nodes are moved. fix #928 2020-06-18 16:41:54 -05:00
Anton Lavrenov
1d8388eead performance optimizations 2020-06-10 11:57:48 -05:00
Anton Lavrenov
33ac099ce9 fix dblclick and dbltap triggers. fix #917 2020-06-03 14:06:06 -05:00
Anton Lavrenov
ee99044baa remove inherit from listening property, deprecate FastLayer, font fixes. 2020-05-14 11:13:47 -05:00
Anton Lavrenov
9b5ecbcc64 update CHANGELOG with new version 2020-05-08 10:07:05 -05:00
Anton Lavrenov
d5481b1b72 prettier 2020-05-08 09:59:35 -05:00
Anton Lavrenov
d868ecc5b6 fix mouseout and mouseleave event on shape destroy. fix #905 2020-05-07 13:47:17 -05:00
Anton Lavrenov
9b4664db3e Transfomer fixes 2020-05-06 11:40:08 -05:00
Anton Lavrenov
414f3385ae Fixes for boundBoxFunc of Konva.Transformer. 2020-05-01 16:07:38 -05:00
Anton Lavrenov
884244b562 update CHANGELOG with new version 2020-04-23 11:34:11 -05:00
Anton Lavrenov
f58635bbf6 fix deatach 2020-04-23 08:59:19 -05:00
Anton Lavrenov
e7e2efe230 update CHANGELOG with new version 2020-04-22 19:20:44 -05:00
Anton Lavrenov
718531f50a Fixes for Konva.Transformer when parent scale is changed. fix #894 2020-04-22 09:06:31 -05:00
Anton Lavrenov
e5d9d65713 update CHANGELOG with new version 2020-04-21 16:23:55 -05:00
Anton Lavrenov
a7c9e0b5a5 dragbound fixes 2020-04-21 16:10:11 -05:00
Anton Lavrenov
d297cec70b Memory usage optimizations when a node is cached. close #887 2020-04-08 16:03:26 -05:00
Anton Lavrenov
7df28d4e50 update CHANGELOG with new version 2020-03-26 15:14:30 -05:00
Anton Lavrenov
104566a58b update CHANGELOG with new version 2020-03-26 14:42:26 -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
56405c5a1f update CHANGELOG with new version 2020-03-14 21:37:43 -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
a0e49332e6 add changelog 2020-03-03 08:50:55 -05:00
Anton Lavrenov
c6e38c55a1 better error messages 2020-02-25 19:22:46 -05:00
Anton Lavrenov
7ec68fc501 transformer events fixes, fix readme 2020-02-24 20:39:32 -05:00
Anton Lavrenov
801509febc change log 2020-02-17 19:52:12 -05:00
Anton Lavrenov
396297bdfc update CHANGELOG with new version 2020-02-16 07:39:42 -05:00
Anton Lavrenov
d4619032a7 update CHANGELOG with new version 2020-02-10 08:23:22 -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
a4b967a375 update CHANGELOG with new version 2020-01-30 11:43:22 -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
1263ac9396 update CHANGELOG with new version 2020-01-08 08:15:12 -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
76c0e3f272 fix image size detection on zero values. fix #774 2019-12-24 11:21:43 -05:00
Anton Lavrenov
2fbd2f7a10 update CHANGELOG with new version 2019-12-23 10:54:33 -05:00
Anton Lavrenov
00c5ccc4bb Increase default anchor size for Konva.Transformer on touch devices. fix #814 2019-12-23 10:52:49 -05:00
Anton Lavrenov
fbebc3fad2 build 2019-12-18 14:35:29 -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
af45808d07 Fix path.getClientRect() calculations for Konva.Path 2019-11-14 11:18:12 -05:00
Anton Lavrenov
2cee61d8eb update CHANGELOG with new version 2019-11-08 11:48:50 -05:00
Anton Lavrenov
61936af059 polyfill tripRight for IE11. fix #783 2019-11-08 11:45:59 -05:00
Anton Lavrenov
5734b888af update CHANGELOG with new version 2019-10-21 10:13:11 -05: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
7de82e5823 fix path calculations 2019-10-11 09:15:38 -05:00
Anton Lavrenov
0731316a7e ts fixes 2019-10-11 07:55:04 -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
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
ea042183c7 update CHANGELOG with new version 2019-09-17 12:54:42 -05:00
Anton Lavrenov
1f14bf1fef Fix some bugs when Konva.Transformer has padding > 0 2019-09-17 12:50:28 -05:00
Anton Lavrenov
7428433217 update CHANGELOG with new version 2019-09-10 12:09:37 -05:00
Anton Lavrenov
f16434d6d8 Fix drag position handling. close #739 2019-09-10 12:08:36 -05:00
Anton Lavrenov
c3f4e53be5 fix multiple selector for find() method. close #735 2019-09-09 10:55:17 -05:00
Anton Lavrenov
e7d8bf5d15 update CHANGELOG with new version 2019-09-06 14:16:11 -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
3ef2cec1cc update CHANGELOG with new version 2019-09-05 13:03:06 -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
537ad149ce update CHANGELOG with new version 2019-08-12 08:44:29 +07:00
Anton Lavrenov
04968c3b51 Fix nested dragging bug. close #71 2019-08-12 08:42:50 +07:00
Anton Lavrenov
d191e21cc3 Add node.isCached() method 2019-08-10 16:41:54 +07:00
Anton Lavrenov
627359115a update CHANGELOG with new version 2019-08-08 22:14:56 +07:00
Anton Lavrenov
0975848dd7 events fixes 2019-08-08 16:24:55 +07:00
Anton Lavrenov
3c5b66275b update CHANGELOG with new version 2019-08-08 11:36:56 +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
2db18ee7e1 update CHANGELOG with new version 2019-08-07 18:47:48 +07:00
Anton Lavrenov
519bd94a7c prepare new version. Update docs. 2019-08-05 13:54:08 +07:00
Anton Lavrenov
34f0f4ae33 drag&drop multitouch 2019-08-04 14:38:57 +07:00
Anton Lavrenov
9cef088d24 Fix wrong double tap trigger 2019-07-18 07:55:22 +07:00
Anton Lavrenov
d0e5a45543 update CHANGELOG with new version 2019-07-12 17:14:25 +07:00
Anton Lavrenov
477a2392ac different values for corner radius. fix #687 2019-07-12 17:12:11 +07:00
Anton Lavrenov
4e489321f8 ts fixes 2019-06-18 15:29:07 -05:00
Anton Lavrenov
aaadaa665d update CHANGELOG with new version 2019-06-07 15:24:52 -05:00
Anton Lavrenov
c2c49614fa update CHANGELOG with new version 2019-06-03 09:44:30 -05:00
Anton Lavrenov
94116b5b0a update CHANGELOG with new version 2019-05-30 13:06:13 -05:00
Anton Lavrenov
2315f542f7 Add new property imageSmoothingEnabled to the node caching 2019-05-30 12:56:24 -05:00
Anton Lavrenov
2a502d9d8f update CHANGELOG with new version 2019-05-28 15:42:09 -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
e786a5c1dd update CHANGELOG with new version 2019-05-27 20:27:01 -05:00
Anton Lavrenov
1230f2dd44 fix some Konva.Transformer bugs 2019-05-27 16:16:41 -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
Anton Lavrenov
6b9f73f280 ts fixes 2019-05-27 12:54:11 -05:00
Anton Lavrenov
1a23923aee typescript fixes 2019-05-09 08:28:09 -05:00
Anton Lavrenov
a587612f99 update CHANGELOG with new version 2019-04-17 11:02:42 -05:00
Anton Lavrenov
a6122178c6 transformer warning, typescript fixes 2019-04-08 12:17:26 -05:00
Anton Lavrenov
620fb08287 update CHANGELOG with new version 2019-04-05 08:15:42 -05:00
Anton Lavrenov
03d7ceef5a better production detection, fix version injection 2019-04-05 08:14:05 -05:00
Anton Lavrenov
49ceea1dfc fix some stage evetns. close #627 2019-04-03 20:28:48 -05:00
Anton Lavrenov
f9c60c99e1 fix hasName method for empty name cases 2019-03-21 07:43:58 -05:00