Eric Rowell
282c050c5a
Merge pull request #623 from kzhdev/fix-shadow-enable-disable
...
Fixed an issue where enableShadow/disableShadow doesn't work after a shape added into the layer.
2013-10-18 09:41:12 -07:00
ippo615
6e25195fb7
Fixed #639
2013-10-13 15:35:29 -04:00
ippo615
0b4a107166
Fixed #635
...
Added `destroy` method to the image node which deletes the reference
to the DOM or canvas objects.
2013-10-13 15:06:15 -04:00
Andrew Ippoliti
1dbbf3d301
Merge pull request #626 from kzhdev/fix-node-_fire-error
...
Don't use cached event listener length in node._fire because changing shape attribute could remove kinetic event handler from the array which will cause 'hander of undefined' error
2013-10-10 20:11:17 -07:00
Eric Rowell
4ed8ac8088
updated on() docs to include content events
2013-10-08 09:54:39 -07:00
Eric Rowell
d03341f55c
fixed #83
2013-10-08 09:29:08 -07:00
Eric Rowell
31817132d2
using Kinetic.isDragging in Animation class
2013-10-08 09:11:29 -07:00
Jason Follas
0da4b98e91
Fixed #301 : TextPath not responding to events (now rendering glyphs to hit canvas for event detection)
2013-10-07 21:28:08 -04:00
kzhdev
0435be4359
remove unused variable.
2013-10-04 14:43:08 -05:00
kzhdev
809b8b82e9
Don't use cached event listener length in node._fire because changing shape attribures in a event could remove kinetic event handler from the array which willl cause 'hander of undefined' error.
2013-10-04 14:03:50 -05:00
kzhdev
9758cd7b38
Added kinetic namespace.
2013-10-03 19:57:45 -05:00
kzhdev
a246cb0de1
Fixed an issue where enableShadow/disableShadow didn't work after shap added into a layer
2013-10-03 15:00:15 -05:00
kzhdev
ecde9a5d84
pass evt into contentMouseDown and contentMouseUp event
2013-10-03 10:45:02 -05:00
Eric Rowell
0486904512
resolved conflicts
2013-09-29 13:02:54 -07:00
Eric Rowell
e8b479e89f
optmized buffer canvas requirement logic
2013-09-29 13:01:13 -07:00
ippo615
8b7b3db9ef
Merge branch 'master' of https://github.com/Ziriax/KineticJS
...
Fixed bug #527 - filters and cropping are now friends.
2013-09-29 14:00:51 -04:00
Eric Rowell
e13a0b5fd8
fixed issue with stage panning. stage node type needs to be declared before calling super constructor
2013-09-28 21:55:57 -07:00
Eric Rowell
a8cbc2321d
hooked opacity rendering into the buffer canvas logic used for shadows so that strokes and fill opacities aren't applied separately
2013-09-28 20:34:42 -07:00
Eric Rowell
6b69460d2c
fixed #612 and added stage drag and drop unit tests
2013-09-26 22:40:23 -07:00
Eric Rowell
ba6e30aa97
shadow logic is now applied to buffer context, not a newly created one each time drawScene is created
2013-09-26 22:10:37 -07:00
Eric Rowell
4cf15cedb8
rewrote shadow logic. fill and strokes are now both taken into account. shape and shadow opacities now work well together
2013-09-26 01:39:50 -07:00
Eric Rowell
63c6e9eea3
added functional tests. fixed line shadow bug
2013-09-25 23:32:44 -07:00
Eric Rowell
5bac5358a9
finished migrating DD tests to mocha. refactored functional test site directory
2013-09-25 23:25:59 -07:00
Eric Rowell
b56880bccf
issues #606 now using ua detection for layerX/Y usage
2013-09-25 10:37:44 -07:00
Eric Rowell
4234af4848
issue #606 removed evt.layerX and use evt.pageX/Y instead
2013-09-25 10:11:51 -07:00
Eric Rowell
8105edca62
issue #606 moved evt.layerX/Y check at the end of the double pipe chain
2013-09-25 09:55:12 -07:00
Eric Rowell
6e8a5b74b9
fixed #610
2013-09-25 07:58:35 -07:00
Eric Rowell
10dfeb5ef1
fixed #609 and also made sure that layer.clear() also clears the hit context
2013-09-23 08:31:14 -07:00
Eric Rowell
e39bc36190
fixed #605
2013-09-22 22:15:46 -07:00
ericdrowell
a389fbc6f0
implemented stage content mobile events and added functional tests
2013-09-20 16:45:59 -07:00
ericdrowell
068cb1efc8
added new content events to clean up stage events. added first mocha functional test
2013-09-20 16:17:32 -07:00
ericdrowell
85db781630
deprecated the get() method and added find(). the change is backwards compatible
2013-09-20 14:08:51 -07:00
Eric Rowell
a3b18b4207
fixed up Image docs
2013-09-16 22:12:26 -07:00
Eric Rowell
a2a4c6df2b
promoted to v4.7.1, and improved Shape docs
2013-09-16 22:05:28 -07:00
Eric Rowell
bf15d0679f
added 3 param condition for context drawImage
2013-09-16 10:39:55 -07:00
Eric Rowell
5c328b838f
fixed regression bug with createImageHitRegion. setup node server. Upated README with new test instructions
2013-09-16 10:12:50 -07:00
Eric Rowell
ede6fb2e17
fixed save/restore regression introduced in context._stroke() method
2013-09-15 23:42:12 -07:00
Eric Rowell
f31ff0b9e8
getTrace() can now operate in strict and relaxed modes. with relaxed mode, we can now also do a basic context trace test on renderings that may have different parameters in different browsers
2013-09-15 22:59:09 -07:00
Eric Rowell
91fd14cc9f
moved UA to Global namespace, and fixed scope issue in _drawChildren that was preventing nested draws from working correctly
2013-09-14 11:02:47 -07:00
Eric Rowell
6131385a4e
refactored setLineDash a bit, added comments, and added a context trace assertion that tests line dash
2013-09-14 00:56:17 -07:00
Eric Rowell
659d0409b3
added Kinetic level pixelRatio property that can be used to override the detected pixel ratio. Also fixed up a pixel ratio related test for FF. added Kinetic.UA for user agent detection
2013-09-13 23:26:58 -07:00
Eric Rowell
2fb34e3dc7
migrated TextPath and Shape tests to mocha
2013-09-10 21:17:56 -07:00
Eric Rowell
c40fc7cf38
removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars
2013-09-08 22:02:04 -07:00
Eric Rowell
976b88dea5
migrated path tests to Mocha, and also correctly fixed #567
2013-09-07 23:42:11 -07:00
Eric Rowell
9141953569
migrated more plugin tests, and continued working on context tracer
2013-09-07 20:55:03 -07:00
Eric Rowell
ee5f4c3e3b
finished migrating all shape unit tests over to mocha. continued working on context tracing support
2013-09-07 17:57:48 -07:00
Eric Rowell
43376556a4
fixed up context clip method
2013-09-02 21:19:14 -07:00
Eric Rowell
7ac45b7c4c
migrated Ellipse test to Mocha, and finished up context wrapper methods
2013-09-02 21:16:26 -07:00
Eric Rowell
f298267bd7
migrated text tests. added more context wrapper methods and properties
2013-09-02 20:35:25 -07:00
Eric Rowell
c802935208
changed fillStroke() to fillStrokeShape() for consistency
2013-09-02 11:09:30 -07:00