Commit Graph

417 Commits

Author SHA1 Message Date
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
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
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
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