Commit Graph

1229 Commits

Author SHA1 Message Date
lavrton
cf76a06884 line with empty points 2015-01-20 17:05:03 +07:00
lavrton
73a4a573b1 repair build 2015-01-15 10:10:57 +07:00
lavrton
2f8bd0efa4 fix docs 2015-01-15 09:46:48 +07:00
lavrton
a78f01365d fix name selector bug. close #3 2015-01-15 09:41:29 +07:00
lavrton
6e50e634f5 fix dragBoundFunc docs. close #1 2015-01-14 07:33:18 +07:00
lavrton
288c2cc9db update credits 2015-01-09 21:52:27 +07:00
leohenning
366fe5df3d Add in offset for packed sprites
Many sprite animation tools pack the sprites in such a way that the
size of the image is optimized.  In order to play the sprite properly
you need to change the x and y coordinate of the image so the sprite
plays properly.  Currently in Kineticjs there is no place to store this
offset data.  I added the offset data optionally to the sprite object
and changed the scene function to use it if it exists.
2014-11-10 16:20:11 -05:00
Лаврёнов Антон
7f853ddc00 update dev dependencies. close #1015 2014-10-03 13:03:50 +08:00
Лаврёнов Антон
a4ea6a65a5 intersects with shadow. close #1027 2014-10-02 22:41:51 +08:00
Лаврёнов Антон
362bcf9efc solve #1026 2014-10-02 22:28:51 +08:00
Лаврёнов Антон
7f7fb652da clean tests and adding docs 2014-09-24 10:26:42 +08:00
Лаврёнов Антон
7a2173dd7f Merge branch 'patch-1' of github.com:mattslocum/KineticJS into mattslocum-patch-1 2014-09-24 10:18:02 +08:00
Лаврёнов Антон
dbc7a83a50 fix #1016 2014-09-23 17:32:13 +08:00
Лаврёнов Антон
0e2136387c fix #1018 2014-09-23 15:05:30 +08:00
Лаврёнов Антон
b321f20cdb New Arrow shape ⤵️ 2014-08-27 12:43:33 +08:00
Matt Slocum
19672c2727 Allow nodes to have multiple names similar to css
The name field of a shape or element currently only supports a single name, but the find selector mimics css which supports multiple class names per node. This enhancement allows the name field to also support multiple names. 

For example you could name a circle: 'red circle' and a square: 'red square', and now stage.find('.red') will return both elements, but stage.find('.square') will return just the square.
2014-08-24 21:48:27 -06:00
Лаврёнов Антон
de6548f893 add mousewheel to docs 2014-08-24 11:09:43 +08:00
Лаврёнов Антон
ba5420d900 Merge branch 'master' of github.com:vmichnowicz/KineticJS into vmichnowicz-master
Conflicts:
	src/Layer.js
2014-08-24 11:05:36 +08:00
Лаврёнов Антон
1b925ed5f0 better animation and sprite workflow. fix #1002, #974, #700 2014-08-23 18:11:41 +08:00
Лаврёнов Антон
7970f45021 Merge branch 'master' of github.com:YoruNoHikage/KineticJS into YoruNoHikage-master 2014-08-21 07:46:39 +08:00
Лаврёнов Антон
f326eee9da add comment 2014-08-19 19:48:40 +08:00
Лаврёнов Антон
bcadceafbd Merge branch 'master' of github.com:mjhasbach/KineticJS into mjhasbach-master 2014-08-19 19:46:37 +08:00
Лаврёнов Антон
7ea87de00c Merge remote-tracking branch 'origin/master' 2014-08-19 19:35:59 +08:00
Лаврёнов Антон
22da5892e2 resolve lint errors + some refactoring 😯 2014-08-19 19:27:46 +08:00
Anton Lavrenov
fb76cc7444 add chaining 2014-08-18 15:58:45 +08:00
Anton Lavrenov
6b9d2ad7d7 Merge pull request #996 from mjhasbach/Kinetic.Container.add_better-chaining
Kinetic.Container.add() Better Chaining
2014-08-18 15:57:50 +08:00
Matthew Hasbach
6502da45e2 Kinetic.Container.add() is now chainable when its child argument has a parent 2014-08-16 13:20:30 -04:00
Лаврёнов Антон
644369c811 circle attrs sync 2014-08-13 00:02:12 +08:00
Лаврёнов Антон
4ffa672dce ring param sync :neckbeard: fix #987 2014-08-11 23:56:13 +08:00
Лаврёнов Антон
0ffcdb57a5 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-08-10 15:52:17 +08:00
Лаврёнов Антон
df08fc01d0 fix #962 2014-08-10 15:51:43 +08:00
Matt Burke
d56d5b1646 Fix grammar for missing container error message 2014-07-29 12:47:53 -04:00
Matthew Hasbach
6fc5019f04 Kinetic.Node.moveTo() now checks if the node is already a child of the target container before removing it from the current container and adding it to the target container. 2014-07-27 21:37:50 -04:00
YoruNoHikage
90308f0eb0 cornerRadius on Tags implemented, fix #475 2014-07-02 11:56:52 +02:00
Лаврёнов Антон
d8a429ac85 ✏️ fix typo 2014-06-10 10:01:49 +08:00
Лаврёнов Антон
24f7bdbafc small optimization 2014-05-29 14:13:10 +08:00
Лаврёнов Антон
16631f48a3 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-05-22 23:05:02 +08:00
Лаврёнов Антон
9fba09008f disable layer hit caching 2014-05-22 23:04:57 +08:00
Anton Lavrenov
91d0e43eb9 Merge pull request #934 from vmichnowicz/get-intersection-cache
make sure that `x` and `y` are integers at `_getImageData`
2014-05-21 22:21:08 +08:00
Jason Follas
8d5298d7ca Needed to include "this" when elevating iemobile mouse events to touch 2014-05-21 09:25:31 -04:00
Victor Michnowicz
1cadfe3115 Actually fix IE mouse position float error 2014-05-20 10:35:41 -04:00
Victor Michnowicz
ed9d9cdff0 Fix for IE reporting mouse position as float 2014-05-20 10:23:40 -04:00
Лаврёнов Антон
68f8ea335e cleaning docs 2014-05-20 18:09:02 +08:00
Лаврёнов Антон
f573b3a76b optional warnings displaying 2014-05-20 17:57:39 +08:00
Лаврёнов Антон
7e3803bdd1 better layers width() and height() workflow 2014-05-20 17:52:22 +08:00
Лаврёнов Антон
1db8fec21c test + refactoring 2014-05-17 21:10:49 +08:00
Лаврёнов Антон
012db6594c Merge branch 'get-intersection-cache' of git://github.com/vmichnowicz/KineticJS into vmichnowicz-get-intersection-cache
Conflicts:
	src/Container.js
	src/Shape.js
2014-05-17 13:16:45 +08:00
Victor Michnowicz
70564cc1e4 Update clearing of getImageData cache 2014-05-17 00:06:46 -04:00
Лаврёнов Антон
c34873d8c1 mouse dragging only with left button. fix #272 2014-05-16 22:52:17 +08:00
Лаврёнов Антон
16511a9aef remove all events with node.off() 2014-05-15 23:45:04 +08:00