Commit Graph

888 Commits

Author SHA1 Message Date
Anton Lavrenov
2217ba42cd enable all tests 2022-08-05 10:26:10 -05:00
Anton Lavrenov
e06d3b85b9 fix label position on attributes changes 2022-08-05 10:21:48 -05:00
Anton Lavrenov
e2f4710258 enable all tests 2022-08-05 10:12:11 -05:00
Anton Lavrenov
0f8f2f4548 little refactor 2022-08-05 10:07:22 -05:00
gloryyin
40267e0d44 fix: add ellipsis for last line 2022-08-01 02:33:41 +08:00
Austin S
3fa0e27249 Added tests for toImage and toBlob. 2022-07-21 17:47:34 -07:00
Anton Lavrenov
ab5c93e6ac Skip Konva.Transformer in container.getClientRect() calculations 2022-06-20 12:45:51 -05:00
Anton Lavrenov
f34bbf13f3 update CHANGELOG with new version 2022-05-05 18:41:17 -05:00
Anton Lavrenov
149c8d83fd try cmjs only 2022-05-04 16:04:16 -05:00
Anton Lavrenov
e88ed2c28c imageSmoothingEnabled for export functions. close #1320 2022-04-11 18:20:09 -05:00
Anton Lavrenov
a863db9580 update CHANGELOG with new version 2022-03-21 13:49:55 -05:00
Anton Lavrenov
aaa6f93f38 update CHANGELOG with new version 2022-03-13 08:08:37 -05:00
Anton Lavrenov
1e4251b6ca upgrade 2022-03-12 22:48:54 -05:00
Anton Lavrenov
fcf53dc138 remove rounding from getClientRect 2022-03-12 22:28:19 -05:00
Anton Lavrenov
a75fd53f0e fix transformstart event. close #1294 2022-03-08 11:00:28 -05:00
Anton Lavrenov
1663a941bf Fix justify align for text with several paragraphs 2022-02-23 20:21:15 -05:00
Samuel Laulhau
504afede4b add test on arc#getSelfRect 2021-12-20 10:50:03 +01:00
Anton Lavrenov
077505ec51
Merge pull request #1249 from derekjan1240/master
fix: rgbaColorToRGBA function output NaN when input with percentage
2021-12-15 13:47:57 -05:00
Kai
f3947e527c test(color): add test case with percentage color string to RGBA object 2021-12-15 21:08:15 +08:00
Artyom Khudyakov
8ffac91f05 Added error handler for Image.fromURL 2021-12-14 19:17:11 +03:00
Anton Lavrenov
caa2ec7098 Merge branch 'master' of github.com:konvajs/konva into master 2021-12-09 08:57:43 -05:00
Anton Lavrenov
a4cc960353 Fix dbltap event in Safari. close #1209 2021-12-09 08:57:01 -05:00
i18u
bed6f8bb7a fix: handle Arc clockwise on getSelfRect 2021-11-26 10:15:35 +08:00
i18u
279eaac88c feat: impliment getSelftRect method for Arc 2021-11-25 19:05:56 +08:00
Anton Lavrenov
2927e44c99 update CHANGELOG with new version 2021-11-15 12:22:04 -05:00
Anton Lavrenov
4dfdd6eeaf update CHANGELOG with new version 2021-11-15 08:27:41 -05:00
Anton Lavrenov
272627a2da fix pointer events 2021-10-22 10:09:34 -05:00
Anton Lavrenov
0c7ea65e22 Fix Konva.Arrow rendering when it has two pointers 2021-10-06 09:17:11 -05:00
Anton Lavrenov
cb55ec8706 export fixes 2021-09-23 16:17:14 -05:00
Anton Lavrenov
cc5b67ed10 cmj build 2021-09-23 11:17:50 -05:00
Anton Lavrenov
586ea3d860 fix line, fix finger, close #1181, close #1177 2021-09-22 10:14:38 -05:00
Anton Lavrenov
81153546a9 fix dblclick events 2021-09-15 15:33:27 -05:00
Anton Lavrenov
08c8a78451 fix fillPattern cache 2021-08-04 18:34:22 +07:00
Anton Lavrenov
089334b41c fix memory leak. close #1154 2021-08-04 15:28:00 +07:00
Anton Lavrenov
0679643389 fix transformer bad behavior when back is dragged. close #1141 2021-07-01 12:39:22 +07:00
Albert Brand
7c1787ca35 Make sure to schedule draw when calling removeChildren or destroyChildren 2021-06-30 10:06:41 +02:00
Anton Lavrenov
ddfff3f9f1 enable all tests 2021-06-29 11:48:30 +07:00
Anton Lavrenov
51371a8140 New property useSingleNodeRotation for Konva.Transformer 2021-06-29 11:44:22 +07:00
Anton Lavrenov
3fce0a5b45 fix pattern bug 2021-06-08 14:16:08 +07:00
Anton Lavrenov
38b2501e4b fix cache with invisble shapes 2021-05-27 20:04:30 -05:00
Anton Lavrenov
9ed1cd7009 fix transform cache issue. close #1116 2021-05-27 15:02:59 -05:00
Anton Lavrenov
29badd7f6c deprecate some methods 2021-05-21 10:45:44 -05:00
Anton Lavrenov
734a66a75c nodejs fixes, bugs fixes 2021-05-09 08:11:42 -05:00
Anton Lavrenov
3219008dfa node.getRelativePointerPosition() method 2021-05-08 21:43:51 -05:00
Anton Lavrenov
f8e71d608a cleanup 2021-05-08 20:22:20 -05:00
Anton Lavrenov
fcd7cf62b0 events rewrite, fix types 2021-05-07 07:48:13 -05:00
Anton Lavrenov
e5d86c9981 test for image will fill pattern. 2021-05-06 16:09:28 -05:00
Anton Lavrenov
b6e9d58db8 polish method 2021-05-06 15:49:23 -05:00
Anton Lavrenov
f4ce027b1d Merge branch 'master' of https://github.com/AlexIII/konva into AlexIII-master 2021-05-06 15:38:31 -05:00
Anton Lavrenov
dbe88946ed new flipEnabled property for Konva.Transformer. close #954 2021-05-06 15:36:32 -05:00
Anton Lavrenov
386287eebe remove Konva.names and Konva.ids. close #1073 2021-05-06 15:25:12 -05:00
Anton Lavrenov
ef6fbf2e14 Fix fill pattern for Konva.Text when the pattern has an offset or rotation. close #852 2021-05-06 14:53:02 -05:00
Anton Lavrenov
8359287949 fix path parse. close #851 2021-05-06 14:23:04 -05:00
Anton Lavrenov
4f11244607 fix arrow head direction. close #501 2021-05-06 08:41:34 -05:00
Anton Lavrenov
d54832865d better context method. close #343 2021-05-06 07:46:36 -05:00
Anton Lavrenov
2753d2d709 fix text test 2021-05-05 14:07:51 -05:00
Anton Lavrenov
89687574d1 clean data after test 2021-05-05 13:44:32 -05:00
Anton Lavrenov
46d2c25a9a enable all tests 2021-05-05 13:24:52 -05:00
Anton Lavrenov
432ff1a87b FIX TESTS AGAIN!!!! 2021-05-05 12:57:35 -05:00
Anton Lavrenov
b6e8afec6e fix test 2021-05-05 09:54:03 -05:00
Anton Lavrenov
7bd5c62ee3 tests refactor, clean build 2021-05-05 09:19:24 -05:00
Anton Lavrenov
cb20f00e4b fix tests 2021-05-04 09:33:41 -05:00
Anton Lavrenov
7a6613118e fix tests 2021-05-04 09:05:27 -05:00
Anton Lavrenov
3066765d79 Merge branch 'master' of github.com:konvajs/konva into master 2021-05-04 08:57:47 -05:00
Anton Lavrenov
1c6bc48c83 autodraw 2021-05-04 08:57:03 -05:00
Anton Lavrenov
ca1de3a351 finish tests fixing 2021-05-03 21:21:04 -05:00
Anton Lavrenov
59956fe944 refactor tests 2021-05-03 17:09:18 -05:00
Raphael Papazikas
628a8ea9ca
fix #1106: hit canvas pixel ratio configurable 2021-05-03 22:54:22 +02:00
Anton Lavrenov
c926bd623c initial tests migration 2021-04-30 09:24:27 -05:00
Alexander Chernoskutov
600bb7268e Add isClientRectOnScreen() method to Node #1086 2021-04-28 22:03:23 +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
febf3251eb docs and types 2021-01-26 11:43:52 -05:00
Anton Lavrenov
76476a5d77 build 2021-01-08 11:24:18 -05:00
Anton Lavrenov
6fcfd4de54 Fix ellipsis rendering for Konva.Text 2020-12-18 11:12:19 -05:00
Anton Lavrenov
e6c842c83f add funding, enable all tests 2020-12-16 14:22:00 -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
0e2a09ba46 fix regular polygin size calculations. close #1015 2020-11-17 14:09:25 -05:00
Anton Lavrenov
691ef799c7 more textpath rendering fixes 2020-11-17 11:19:23 -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
38eb854453 performance fixes, docs fixes 2020-11-10 08:59:20 -05:00
Anton Lavrenov
25e25f3ea6 build 2020-10-12 09:34:12 -05:00
Anton Lavrenov
f4d566e431 Fix double dragend, dragstart, dragmove triggers on Konva.Transformer 2020-10-12 09:11:46 -05:00
Anton Lavrenov
58f18c268a fix event trigger flow. close #989 2020-09-25 09:49:00 -05:00
Anton Lavrenov
160b44b94d Fix double dragend trigger on Konva.Transformer. close #988 2020-09-25 09:09:35 -05:00
Anton Lavrenov
4ce6800fd9 better tests 2020-09-17 13:25:46 -05:00
Anton Lavrenov
16796d49f3 update CHANGELOG with new version 2020-09-17 09:48:36 -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
44f79edbbb fix fill patter scale for text. close #720 2020-09-14 16:37:25 -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
b939a6f48a build 2020-09-14 13:04:44 -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
179ba2eb8a Merge branch 'f/add-corner-radius-array-to-label-tag' of https://github.com/raphael-papazikas/konva into raphael-papazikas-f/add-corner-radius-array-to-label-tag 2020-09-07 12:52:50 -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
40d68ea6e8 update rotation of transformer automatically. close #976 2020-09-07 10:40:23 -05:00
Raphael Papazikas
22a4a53a8c
add cornerRadius as array to label tag 2020-09-06 13:08:50 +02: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
55107920bd cache fixes 2020-08-08 09:24:31 -05:00
Anton Lavrenov
dd84716715 performance updates 2020-07-30 10:44:15 -05:00
houfio
cb61da5bef Add update callback 2020-07-24 23:41:59 +02:00
Anton Lavrenov
b5e7362d26 update CHANGELOG with new version 2020-07-09 16:50:50 -05:00
Anton Lavrenov
4e1b1c7812 rendering fixes for letter spacing. fix #942 2020-07-02 17:27:30 -05:00
Anton Lavrenov
910273f2c6 update CHANGELOG with new version 2020-06-29 12:14:39 -05:00
Anton Lavrenov
08d1ca7c5f font fixes. close #910 2020-06-25 12:18:31 -05:00
Anton Lavrenov
d62645609d more performance fixes 2020-06-23 17:22:28 -05:00
Anton Lavrenov
bc4bfbc0c5 clean files 2020-06-19 10:36:12 -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
0fe8e7fb7f perf optimizations 2020-06-16 16:20:36 -05:00
Anton Lavrenov
e22a98d656 perf fixes, transformer events 2020-06-16 12:16:53 -05:00
Anton Lavrenov
1d8388eead performance optimizations 2020-06-10 11:57:48 -05:00
Anton Lavrenov
43b23e9559 add FastLayer deprecate 2020-06-09 15:55:08 -05:00
Anton Lavrenov
33ac099ce9 fix dblclick and dbltap triggers. fix #917 2020-06-03 14:06:06 -05:00
Anton Lavrenov
d96e7d9ede text font fix. close #910 2020-05-14 11:25:27 -05:00
Anton Lavrenov
ee99044baa remove inherit from listening property, deprecate FastLayer, font fixes. 2020-05-14 11:13:47 -05:00
Anton Lavrenov
6cc3224769 Merge branch 'master' of github.com:konvajs/konva 2020-05-13 09:23:31 -05:00
Anton Lavrenov
0753569d0d add listening test 2020-05-13 09:21:51 -05:00
Nathan Muir
bf1b4a91e9 Make Node#isVisible() consistent with drawing behaviour
Remove the "inherit" value from Node#visible(), and treat `true` similar to "inherit".

Fixes konvajs/konva#906
2020-05-13 11:55:36 +12: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
0314182992 transformer work 2020-05-05 10:37:58 -05:00
Anton Lavrenov
414f3385ae Fixes for boundBoxFunc of Konva.Transformer. 2020-05-01 16:07:38 -05:00
Anton Lavrenov
099de8aefd pre patch 2020-05-01 14:58:34 -05:00
Anton Lavrenov
b657111578 fix detach bug on destroy 2020-04-23 11:33:00 -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
a7c9e0b5a5 dragbound fixes 2020-04-21 16:10:11 -05:00
Anton Lavrenov
f970121959 many transformer fixes 2020-04-21 14:11:52 -05:00
Anton Lavrenov
9a23b0aa7d fix snap calculations. fix #888 2020-04-13 10:12:39 -05:00
Anton Lavrenov
8937741c31 fix some transformer bugs 2020-04-10 16:00:25 -05:00
Anton Lavrenov
2423ec261b fix transformer on parent transform change. close #834 2020-04-08 17:27:18 -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
865d6c7618 fix imageSmoothingEnabled on resize. fix #884 2020-04-07 12:47:22 -05:00
Anton Lavrenov
1427cf0efc cleaning 2020-04-07 08:46:50 -05:00
Anton Lavrenov
55c812425d some transformer fixes 2020-04-06 21:51:03 -05:00
Anton Lavrenov
185c599257 initial support for multiple nodes for Konva.Transformer 2020-04-02 10:01:31 -05:00
Anton Lavrenov
4f50d42401 clean 2020-03-29 09:34:47 -05:00