Commit Graph

624 Commits

Author SHA1 Message Date
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
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
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
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
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
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
e325deef1d update CHANGELOG with new version 2019-08-31 16:40:39 -05: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
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
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
477a2392ac different values for corner radius. fix #687 2019-07-12 17:12:11 +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
William Théroux
5c36b85868 Added ellipse passthrough to context 2019-05-10 00:09:05 +02:00
Anton Lavrenov
a6122178c6 transformer warning, typescript fixes 2019-04-08 12:17:26 -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
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
13fde9329f update changelog, update test 2019-02-25 08:05:14 -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