Anton Lavrenov
98efbca18f
vertical align for the text. close #440
2018-08-30 15:18:09 +03:00
Anton Lavrenov
83385fa522
Merge branch 'master' of github.com:konvajs/konva
2018-08-30 13:50:15 +03:00
Anton Lavrenov
74d83c8465
Merge branch 'andrewDyakin-master'
2018-08-30 13:50:07 +03:00
Anton Lavrenov
0a6bd95414
add docs, change tests
2018-08-30 13:49:43 +03:00
Anton Lavrenov
973344a3c6
Merge branch 'master' of https://github.com/andrewDyakin/konva into andrewDyakin-master
2018-08-30 13:42:43 +03:00
Anton Lavrenov
6fa621ca2b
Merge pull request #442 from drakang4/handlerfunc-evt
...
Add generic to HandlerFunc
2018-08-30 11:32:19 +03:00
Heeryong Kang
6996dc8954
Added generic for HandlerFunc evt
2018-08-30 15:35:33 +09:00
Anton Lavrenov
f453ddbd5d
Merge pull request #439 from IgorBabkin/collection-typings
...
Add generic variable to Collection
2018-08-22 18:11:02 +07:00
Igor Babkin
698fe0f49b
Add generic variable to Collection
2018-08-22 13:32:38 +03:00
Dyakin
76e5ff0daa
fix rest length calculation
2018-08-21 18:18:18 +03:00
Anton Lavrenov
d15c530520
update cdn link
2018-08-21 16:07:34 +07:00
Anton Lavrenov
c9e2573f6a
build for 2.2.2
2018-08-21 16:07:33 +07:00
Anton Lavrenov
6573cd9b26
update CHANGELOG with new version
2018-08-21 16:07:28 +07:00
Anton Lavrenov
a486fbffbd
disable validations in minified version
2018-08-21 16:05:45 +07:00
Anton Lavrenov
11b9961395
typescript fix. close #424
2018-08-21 15:58:51 +07:00
Anton Lavrenov
738cc8b79c
Automatic validations for many attributes. close #436
2018-08-21 15:56:04 +07:00
Anton Lavrenov
973e7932e4
typescript fixes, id warning template
2018-08-21 14:13:53 +07:00
Dyakin
c16e3d1d0b
get point at path
2018-08-19 23:19:13 +03:00
Anton Lavrenov
22eee6530f
some toDataURL fixes and refactoring
2018-08-16 14:52:42 +07:00
Anton Lavrenov
363f9943c5
change some defaults and change messages
2018-08-13 12:13:29 +07:00
Anton Lavrenov
f256e05d75
update cdn link
2018-08-10 13:20:30 +07:00
Anton Lavrenov
cf22fb0b00
build for 2.2.1
2018-08-10 13:20:30 +07:00
Anton Lavrenov
2b65b818a1
update CHANGELOG with new version
2018-08-10 13:20:26 +07:00
Anton Lavrenov
8420e44c1b
fix stop transform bug
2018-08-10 13:19:56 +07:00
Anton Lavrenov
32dec19f51
update cdn link
2018-08-10 12:39:35 +07:00
Anton Lavrenov
c466de0134
build for 2.2.0
2018-08-10 12:39:35 +07:00
Anton Lavrenov
e03fe8ba99
update CHANGELOG with new version
2018-08-10 12:39:30 +07:00
Anton Lavrenov
093d501cf6
new transformer style functions
2018-08-10 10:22:08 +07:00
Anton Lavrenov
77af92cbf0
build and test fix
2018-08-09 12:35:21 +07:00
Anton Lavrenov
b518ae0dac
Merge branch 'master' of github.com:konvajs/konva
2018-08-09 12:31:48 +07:00
Anton Lavrenov
52cdd66dfe
fix for draggable stage
2018-08-09 12:24:50 +07:00
Anton Lavrenov
d20d4ed98e
Merge pull request #425 from adam-t-b/master
...
Anchor Box Size for Transformer
2018-08-09 12:24:40 +07:00
Adam Berrio
a114a546fd
Renaming per request
...
anchorBoxSize to anchorSize
2018-08-03 22:28:09 -07:00
Anton Lavrenov
9af21e402b
Merge pull request #427 from marcinmajkowski/sprite-config-typings-fix
...
Add missing frameRate SpriteConfig typing and Sprite documentation entry
2018-08-04 08:31:46 +07:00
Marcin Majkowski
ede310a19c
Add missing frameRate SpriteConfig typing and Sprite documentation entry
2018-08-03 23:36:49 +02:00
Adam Berrio
0b0dd806fc
Fixing wording
2018-08-02 22:25:29 -07:00
Adam Berrio
357b3b52f3
Adding Anchor Box Size to Transformer
...
This switches the constant BASE_BOX_WIDTH and BASE_BOX_HEIGHT to be a config option.
[config.anchorBoxSize]
2018-08-02 22:17:20 -07:00
Anton Lavrenov
a15b27bcf1
Merge branch 'VladimirTechMan-master'
2018-08-03 09:48:49 +07:00
Anton Lavrenov
0b58cf482b
reset some changes
2018-08-03 09:48:35 +07:00
VladimirTechMan
3a8f10687c
Merge remote-tracking branch 'upstream/master'
2018-08-02 22:30:21 -04:00
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
VladimirTechMan
940fdfe787
Only update the z-indices that do change after reordering nodes
...
Right now, when updating the z-index of a node in a container,
the indices of all its siblings are refreshed. However, if the
node changes its z-index from z1 to z2, we only need to refresh
the z-indexes of the node's parent's children in the closed
range [ min(z1,z2), max(z1,z2) ]. For groups and layers with
many children that will be more optimal in many cases.
In addition to the above change, this patch:
* forces the parameter of Node#setZIndex() to be in the valid
range.
* adds the (now absent) unit tests for the methods of Node that
change z-indices of the parent's children.
2018-07-28 18:56:37 -04: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