Anton Lavrenov
738cc8b79c
Automatic validations for many attributes. close #436
2018-08-21 15:56:04 +07:00
Anton Lavrenov
22eee6530f
some toDataURL fixes and refactoring
2018-08-16 14:52:42 +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
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
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
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
e6c5325ccb
toObject fixes
2018-07-05 14:49:02 +07:00
Anton Lavrenov
e518e64935
ome drag&drop fixes
2018-07-03 11:03:06 +07:00
Anton Lavrenov
9b2d439751
prettier, fix some tests, new test runner
2018-05-24 10:59:08 +09: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
f8bd25cbfe
fix "same value" detection in setAttr. fix #378
2018-04-11 09:01:10 +07:00
Anton Lavrenov
2e93f99aab
Transformer optimizations
2018-03-21 09:56:00 +07:00
Anton Lavrenov
3681c94f18
Merge branch 'master' of github.com:konvajs/konva
2018-03-19 10:16:23 +07:00
Anton Lavrenov
64c901075f
docs fixes
2018-03-19 10:16:04 +07:00
oott123
25f55aaa94
fix doc argname & types for globalCompositeOperation
2018-03-19 10:51:26 +08:00
Anton Lavrenov
fa081dd159
a bit fixes events flow
2018-03-16 10:53:50 +07:00
Anton Lavrenov
8894d75a44
implement off
with callbacks
2018-01-12 11:05:12 +07:00
Anton Lavrenov
89d3dbc73a
update doc
2017-12-27 09:09:46 +07:00
Anton Lavrenov
356c778b7b
skip throw on bad caching
2017-09-05 13:30:08 +02:00
Anton Lavrenov
e51e675c86
change getClientRect calc
2017-08-01 22:16:44 +02:00
Anton Lavrenov
8397de488a
fix method bad copy/paste error. fix #237
2017-05-24 22:32:31 +03:00
Anton Lavrenov
d3498fc0fa
moved globalCompositeOperation
property to Konva.Node
2017-04-21 12:07:36 -05:00
Anton Lavrenov
59cc7b99f2
setup prettier and make all code better
2017-02-24 09:15:33 -05:00
Anton Lavrenov
e523c86ebd
fix memory leak. close #198
2017-01-10 08:27:32 -05:00
Anton Lavrenov
b855765736
shadow fixes
2016-12-14 12:14:56 -05:00
Anton Lavrenov
ad8d38d945
fixed wrong opacity level for cached group with opacity. close #191
2016-12-13 07:01:51 -05:00
Anton Lavrenov
fa7c6e0c78
add toCanvas()
method
2016-11-11 16:02:32 -06:00
Anton Lavrenov
9b92331410
Fixed "calling remove() for dragging shape will throw an error". close #184
2016-11-10 16:41:31 -06:00
Anton Lavrenov
b12fd40f25
update docs
2016-10-25 09:03:25 -06:00
Anton Lavrenov
9d497f2837
wrong filter check
2016-09-11 10:01:38 -04:00
Anton Lavrenov
101b0242cd
fix wrong copy-paste
2016-09-10 08:00:31 -04:00
Anton Lavrenov
0eec587cd6
fix #169
2016-09-10 07:57:50 -04:00
ada99
95edb44782
Fix #157 ( #158 )
...
* Stringify custom attributes-objects
* Stringify custom attributes-objects
2016-07-09 20:54:28 +07:00
Anton Lavrenov
aef5e79981
update CHANGELOG with new version
2016-07-05 09:59:41 +07:00
Anton Lavrenov
65b18f626b
mouseenter bug fix. close #119
2016-06-07 17:25:32 +07:00
Anton Lavrenov
0f77dc4f8b
fix mouseenter bug. close #119
2016-04-26 14:12:04 +07:00
Anton Lavrenov
3743b27899
fix incorrect shadow offset on rotation. fix #142
2016-04-15 10:52:45 +07:00
Anton Lavrenov
9ba6ff21fe
contentWheel event for Stage. close #129
2016-02-29 08:03:03 +08:00
Anton Lavrenov
3c1e2804de
better HDPI support
...
update packages
2016-02-28 16:57:15 +08:00
Anton Lavrenov
e3596d6c63
repair cancelBubble
event property behaviour. fix #123 .
2016-01-26 23:21:25 +08:00
Anton Lavrenov
ff82ad1901
optimize change event. close #120
2016-01-07 15:57:36 +08:00
Anton Lavrenov
2e76cfba30
currentTarget fix
2016-01-04 08:31:53 +08:00
Anton Lavrenov
28e8758d29
new node.findAncestors(selector)
and node.findAncestor(selector)
functions. close #116
2015-12-25 21:35:19 +07:00
Anton Lavrenov
eda967c07e
optional parent argument for getAbsolutePosition
2015-12-23 09:18:36 +07:00
Anton Lavrenov
2a514ee580
return this from several methods. close #111
2015-12-22 17:19:33 +07:00
lavrton
40563bb2c1
small doc update
2015-11-22 22:26:04 +07:00
lavrton
d1d30c6c1a
event delegation support
2015-11-22 10:44:33 +07:00