Commit Graph

828 Commits

Author SHA1 Message Date
Eric Rowell
bf8d2db0df multiple transitions on the same node are now supported 2013-04-28 14:14:45 -07:00
Eric Rowell
1dc323305b all attrs that have x and y components now have individual component setters. i.e. you can use setScale() and pass in an object, or setScaleX() and setScaleY() individually 2013-04-27 20:50:42 -07:00
Eric Rowell
5fca6b6e53 Merge pull request #412 from aniruddha-loya/master
Bug fix for getAttr(attr) function
2013-04-24 07:28:02 -07:00
aniruddha-loya
a71d3e1fa0 Bug fix for getAttr function
Now it permits to return user defined attributes which do not have a corresponding method, similar to setAttrs(config) that sets attributes as key-value whenever there is no method for the given key
2013-04-24 10:19:41 +03:00
Eric Rowell
a09908b4a5 Update presentation-schedule.md 2013-04-23 18:45:57 -07:00
Eric Rowell
8a78b62cad added matrix transform caching, and optimized the clear() method. This has improved rendering performance by about 17% 2013-04-21 22:42:25 -07:00
Eric Rowell
90a2820e5b toDataURL and toImage now work correctly on devices with a pixel ratio != 1 2013-04-14 09:41:59 -07:00
Eric Rowell
8657c57436 fixes #391 2013-04-14 07:43:02 -07:00
Eric Rowell
9160b694ae transition call back is called using the nodes context. This means that you can access the node with the this keyword 2013-04-13 12:15:08 -07:00
Eric Rowell
8138d2d286 cleaned up Canvas 2013-04-12 23:45:22 -07:00
Eric Rowell
ad0ecd9fe9 fixes #388 unregister shape color key on destroy, not remove 2013-04-12 01:14:31 -07:00
Eric Rowell
9cb3cb9d63 created new sub class called Canvas2D which extends Canvas, and a new GenericCanvas subclass which also extends Canvas. The GenericCanvas class will be used to instantiate non 2d canvas renderers. Also created new contextType property. Setup webgl unit test 2013-04-12 00:48:41 -07:00
Eric Rowell
bfbd42b232 extended getIntersection method for Layer to improve flexibility. Replaced instances of Math.round to bitwise round via | 0 for a small performance gain 2013-04-11 23:51:21 -07:00
Eric Rowell
60c9ef5bcd improved color key generation algorithm 2013-04-11 23:09:41 -07:00
ericdrowell
cbb9e2c289 test change 2013-04-11 19:42:35 -07:00
Eric Rowell
64f465c55e Update presentation-schedule.md 2013-04-08 15:18:41 -07:00
Eric Rowell
a8802c31ca fixes #383 2013-04-08 01:02:08 -07:00
Eric Rowell
2f6e93dab6 fixed #383 2013-04-08 00:43:10 -07:00
Eric Rowell
0e60ccc27e Merge pull request #377 from pavelpower/patch-3
Update Container.js
2013-04-07 18:43:19 -07:00
Eric Rowell
b6cca6a143 moved dd logic in destroy() from Node to DD namespace. refactored stopDrag logic to correctly handle the event object 2013-04-07 10:52:33 -07:00
Eric Rowell
6f61b07500 some refactoring proposed by pavelpower 2013-04-07 10:00:55 -07:00
Eric Rowell
d8d724dd60 Merge pull request #381 from tjouan/container_params-filename-fix
Fix ContainerParams.txt filename
2013-04-07 09:46:31 -07:00
Eric Rowell
d4152a90a2 fixed issue with shape params txt file 2013-04-07 09:44:40 -07:00
Thibault Jouan
6fcae71130 Fix ContainerParams.txt filename:
This file path is referenced as configParams/ContainerParams.txt in
the Thorfile but the real filename is containerParams.txt so build can't
be done:

$ thor build:dev my
:: Deleting other development files...
:: Building full source file /dist/kinetic-vmy.js...
$PWD/Thorfile:153:in `read': No such file or directory - \
  configParams/ContainerParams.txt (Errno::ENOENT)

  It was fixed in 04ddd321 by changing the path in the Thorfile, but
broken by 912cef43.

  This change rename the file with the correct name.
2013-04-07 15:50:59 +00:00
Pavel Akhmetchanov
4a64d00d0a Update Container.js
semicolon
2013-04-07 12:23:33 +03:00
Eric Rowell
515c9702c7 reenabled manual tests 2013-04-07 00:28:07 -07:00
Eric Rowell
8f22bb1938 added stage transition resize manual test 2013-04-07 00:15:15 -07:00
Eric Rowell
9fd5df4d79 drag and drop logic now works correctly on mobile when both the stage is draggable and a shape 2013-04-06 22:29:35 -07:00
Eric Rowell
4610918f07 updated Label docs 2013-04-06 22:06:11 -07:00
Eric Rowell
d57842126a fixes #353 2013-04-04 23:17:20 -07:00
Eric Rowell
280e07a2af fixed Polygon points default attr issue 2013-04-04 22:48:37 -07:00
Eric Rowell
6a1ec5db4c fixed #363 2013-04-04 22:45:39 -07:00
Eric Rowell
ada9f6dbd4 updated drag and drop docs 2013-04-04 22:27:11 -07:00
Eric Rowell
2cb39f087c renamed the Crop filter to Mask 2013-04-04 22:22:28 -07:00
Eric Rowell
171b2a57d3 Merge pull request #369 from alexahn/master
stage clear fix
2013-04-04 10:36:45 -07:00
Eric Rowell
7888ebe24d Merge pull request #365 from nicomlas/master
Crop filter
2013-04-04 09:58:02 -07:00
Alex Ahn
d1516bf727 stage layers length fix 2013-04-03 15:43:32 -04:00
Eric Rowell
348d1b59b6 Merge pull request #342 from louisj/master
Fixed Kinetic.Text wrapping issues
2013-04-02 22:47:37 -07:00
Eric Rowell
22aaa15562 fixed #348 2013-04-02 22:29:56 -07:00
Eric Rowell
d0e984ca93 Merge branch 'master' of github.com:ericdrowell/KineticJS 2013-04-02 22:08:15 -07:00
Eric Rowell
25ff34bdde fixes #362 2013-04-02 22:07:04 -07:00
Nicolas COSME
d81219f7f1 Add the Crop filter 2013-04-02 14:48:48 +02:00
Eric Rowell
c74171c70a Merge pull request #338 from arkx/master
Fix leakages in Kinetic.Transition
2013-03-28 00:17:20 -07:00
Louis Jolibois
14dc481eee Merge github.com:ericdrowell/KineticJS 2013-03-27 18:55:52 +01:00
Louis Jolibois
823529f839 Fixed word wrapping behavior: last words of a multiline text should not be arbitrarily wrapped anymore.
Fixed width padding not being used.
Removed unused _expandTextData method
2013-03-27 17:12:20 +01:00
Aku Kotkavuo
5b37e2cab4 Fix leakages in Kinetic.Transition
ClojureScript advanced mode compilation chokes on these since it
mangles all function names.
2013-03-27 17:43:03 +02:00
Eric Rowell
5340ced25d tweaked docs 2013-03-26 01:09:21 -07:00
Eric Rowell
793e43b0db removed apply() Collection method. Added new mapMethods() Collection method, which is used internally to map node methods to collection methods 2013-03-25 22:43:35 -07:00
Eric Rowell
dc107a06ae fixed small logical error with startDrag() 2013-03-24 20:54:59 -07:00
Eric Rowell
5192ccd954 after some more thought, I've decided to remove the Plugins namespace, but keep the plugins directory. I don't want 3rd parties putting some things in the Kinetic namespace, while others put things in the Plugin space. I really don't see a real need for the namespacing. For organizational purposes, the plugins directory still makes sense, however. 2013-03-24 20:42:27 -07:00