Anton Lavrenov
20776f77aa
update cdn link
2018-08-01 18:35:57 +07:00
Anton Lavrenov
845b561214
build for 2.1.8
2018-08-01 18:35:56 +07:00
Anton Lavrenov
a9ea5a54f6
update CHANGELOG with new version
2018-08-01 18:35:52 +07:00
Anton Lavrenov
41576cfa81
Merge branch 'master' of github.com:konvajs/konva
2018-08-01 18:35:42 +07:00
Anton Lavrenov
98d2d6ffe0
better toDataURL for shapes
2018-08-01 09:26:13 +07:00
Anton Lavrenov
5dcea1863f
Merge pull request #419 from VladimirTechMan/master
...
Removing unused value from return statement in _eachAncestorReverse()
2018-07-25 09:25:45 +07:00
VladimirTechMan
ee6fc3c0b4
Removing unused value from return statement in _eachAncestorReverse()
...
A minor cleanup. When method _eachAncestorReverse() does not have
the top node argument, it returns "nothing" (undefined). Thus, the
true value returned when it has the top argument – and the current
Konva code never checks or uses that returned value – seems to be
just a side effect of code copy-paste or alike, done in the past.
Unless the function was planned to return a boolean value for a
a good reason (in which case we'd need to add a return value to
its end), let's remove the unused value from return.
2018-07-24 11:17:45 -04:00
Anton Lavrenov
40416a0cee
prettier, build
2018-07-24 11:07:13 +07:00
Anton Lavrenov
a6d3426de9
Merge pull request #418 from VladimirTechMan/master
...
Support offsetX and offsetY when transformsEnabled is set to 'position'
2018-07-24 10:57:30 +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
01ce94743d
build
2018-07-20 11:10:17 +07:00
Anton Lavrenov
ce67735202
Merge pull request #417 from VladimirTechMan/master
...
Small improvement to _getAbsoluteTransform() when transformEnabled is not set to 'all'
2018-07-20 11:09:08 +07:00
VladimirTechMan
556a58f9dd
Improved _getAbsoluteTransform() when transformEnabled != 'all'
...
Only call getTransform() inside _getAbsoluteTransform() when the
transformEnabled property is set to 'all'. That also eliminates
the need in extra variable (trans) to reference the returned value.
2018-07-19 20:47:28 -04:00
Anton Lavrenov
39e022e786
toDataURL fixes
2018-07-18 14:56:46 +07:00
Anton Lavrenov
ef9cf8154d
Merge pull request #415 from parthivshah91/master
...
Updated Konva.d.ts
2018-07-18 14:47:23 +07:00
Anton Lavrenov
28df587b27
Merge branch 'master' into master
2018-07-18 14:47:13 +07:00
Anton Lavrenov
04c921c13c
Merge pull request #414 from IgorBabkin/handlerfunc-target-optional
...
Make target in HandlerFunc optional
2018-07-18 14:44:47 +07:00
Anton Lavrenov
7cb646f7ff
Merge pull request #413 from IgorBabkin/event-typings
...
Add typings for user events
2018-07-18 00:04:55 +07:00
Parthiv Shah
a2c5920d4d
Updated Konva.d.ts
...
Added KonvaNodeEventMap to determine event type correctly based on eventString similar to lib.es6.d.ts. and added missing type definitions.
2018-07-17 15:32:41 +05:30
Igor Babkin
f67012cea6
Make target in HandlerFunc optional
2018-07-16 11:43:01 +03:00
IgorBabkin
7af4e4128a
Add typings for user events (review notes)
2018-07-15 21:41:11 +03:00
IgorBabkin
e1aa96a8b5
Add typings for user events
2018-07-15 15:07:43 +03: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
b18b11bc5f
build
2018-07-04 11:22:47 +07:00
Anton Lavrenov
b349558775
Merge branch 'allada-master'
2018-07-04 11:21:11 +07:00
Anton Lavrenov
0fe91fd1a1
Merge branch 'master' of https://github.com/allada/konva into allada-master
2018-07-04 11:20:29 +07:00
Nathan Bruer
96837bd349
Transformer changes to work properly with scaling
2018-07-03 10:03:19 -07:00
Anton Lavrenov
289a16d298
remove warning
2018-07-03 12:15:38 +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
f8e9e83792
update cdn link
2018-07-03 11:03:40 +07:00
Anton Lavrenov
dfdb284062
build for 2.1.7
2018-07-03 11:03:40 +07:00
Anton Lavrenov
47bbe9f150
update CHANGELOG with new version
2018-07-03 11:03:35 +07:00
Anton Lavrenov
e518e64935
ome drag&drop fixes
2018-07-03 11:03:06 +07:00
Nathan Bruer
89bb89ec65
Transformer now handles scale properly
2018-07-02 15:30:21 -07:00
Nathan Bruer
56a2c1c43d
Test for Transformer scale changes
2018-07-02 14:47:54 -07:00
Nathan Bruer
ac09295ac0
Fix Transformer with parent negative scale
2018-07-02 11:04:54 -07:00
Nathan Bruer
1cac35652e
Test for transformer curor on parent
2018-07-02 11:03:01 -07:00
Anton Lavrenov
1c863ae389
fix travis
2018-06-20 22:36:07 +07:00
Anton Lavrenov
8e1bd4bacd
fix command
2018-06-20 22:31:41 +07:00
Anton Lavrenov
4ba93dd7d7
remove phantom
2018-06-20 18:09:17 +07:00
Anton Lavrenov
76eca01f90
update cdn link
2018-06-20 18:01:35 +07:00
Anton Lavrenov
d246653ffd
build for 2.1.6
2018-06-20 18:01:35 +07:00
Anton Lavrenov
93a0cbe791
update CHANGELOG with new version
2018-06-20 18:01:29 +07:00
Anton Lavrenov
478a6500a4
build and remove wrong dep
2018-06-20 18:00:18 +07:00
Anton Lavrenov
03b655a9c9
fix test command
2018-06-19 19:21:52 +07:00
Anton Lavrenov
08a7e630fb
Merge pull request #405 from MaxGraey/fix-missing-definations
...
Add some missing definisions
2018-06-19 19:20:41 +07:00
MaxGraey
d2b2dd2f66
Add some missing definisions
2018-06-19 13:53:15 +03:00
Anton Lavrenov
8f658a67ce
update cdn link
2018-06-15 15:18:08 +07:00