Eric Rowell
|
b6ba1a503c
|
ids and names hashes used for node selection via get() has moved to Global in order to greatly simplify the selection logic. This means that node ids and names are shared across all stages. If two stages each have a node with the same id, only the last id set will be accessibile (similar to DOM)
|
2013-01-13 11:10:49 -08:00 |
|
Eric Rowell
|
f5f2fbaba9
|
added stage getDragLayer() method and unit tests
|
2013-01-12 23:45:28 -08:00 |
|
Eric Rowell
|
5cda46be69
|
drag and drop layer is now created on stage instantiation, and is removed and added as needed
|
2013-01-12 23:39:56 -08:00 |
|
Eric Rowell
|
ed579e4843
|
added new destroy Node method which removes and destroys a node. remove() now simply removes a node from the stage. You can re add the node at a later time with add(). getDOM() changed to getContent(). stage.remove() now correctly removes content node
|
2013-01-12 22:01:12 -08:00 |
|
Eric Rowell
|
4136ddb398
|
added new dragOnTop property which allows you to define whether or not a node is automatically moved to a temp top layer when dragging
|
2013-01-09 23:45:30 -08:00 |
|
Eric Rowell
|
40bcaeafed
|
improved drag and drop layer creation logic to further reduce the possibility of a flicker
|
2013-01-09 23:27:37 -08:00 |
|
Eric Rowell
|
c504e7980b
|
re-fixed drag and drop flicker issue on mobile. It was due to the browser taking a few ms to add to canvas dom when drag and drop started
|
2013-01-09 22:34:14 -08:00 |
|
Eric Rowell
|
48b85119f5
|
reverted async prevParent redraw for drag and drop because it has undesirable side effects. Need to find another solution for the flickering behavior on mobile devices
|
2013-01-09 08:32:05 -08:00 |
|
Eric Rowell
|
ffaa108830
|
removed animations length cached variable because the length can change while the for loop is running
|
2013-01-09 08:27:57 -08:00 |
|
Eric Rowell
|
eef3d58a1c
|
Merge pull request #218 from Arthaey/master
Support creating shapes with points like [[x1,y1],[x2,y2]].
|
2013-01-09 07:09:24 -08:00 |
|
Arthaey
|
2879dd92d0
|
Support creating shapes with points like [[x1,y1],[x2,y2]].
|
2013-01-09 00:21:47 -08:00 |
|
Eric Rowell
|
a283286803
|
fixed up clearBeforeDraw() documentation
|
2013-01-07 20:03:44 -08:00 |
|
Eric Rowell
|
3a6a55d1cc
|
fixed edge case when setting draggable=false on dragend
|
2013-01-07 19:51:20 -08:00 |
|
Eric Rowell
|
d0148a50ac
|
a small bit of animation code cleanup
|
2013-01-07 19:38:16 -08:00 |
|
Eric Rowell
|
590889f898
|
optimized animation code
|
2013-01-07 19:36:12 -08:00 |
|
Eric Rowell
|
ae103710d3
|
fixed flickering issue with dd on mobile. removed static framerate logic for dd
|
2013-01-06 23:31:14 -08:00 |
|
Eric Rowell
|
a7466a0b87
|
updated docs
|
2013-01-06 09:04:10 -08:00 |
|
Eric Rowell
|
203c3960e3
|
updated copyright year, and removed excessive dashArray warnings
|
2013-01-04 22:21:17 -08:00 |
|
Eric Rowell
|
db4a972fb2
|
updated more docs
|
2013-01-03 00:00:10 -08:00 |
|
Eric Rowell
|
bba5c7b101
|
really cool new feature that... wait, no, just more docmentation
|
2013-01-02 23:55:56 -08:00 |
|
Eric Rowell
|
c675f19e52
|
updated docs
|
2013-01-02 22:43:12 -08:00 |
|
Eric Rowell
|
b542fbb188
|
finished updating unit tests. All tests now pass
|
2013-01-02 22:08:34 -08:00 |
|
Eric Rowell
|
66a7e2ac39
|
layer.toDataURL() now directly returns layer canvas data url if position and size are not specificed. updated unit tests and docs
|
2013-01-02 22:02:00 -08:00 |
|
Eric Rowell
|
31ad5fca88
|
updated docs
|
2013-01-02 21:35:51 -08:00 |
|
Eric Rowell
|
a53db90d0a
|
flattened fill attr, created new Node getter and setter generators that handle type conversions for points, sizes, and rotations
|
2013-01-01 23:54:02 -08:00 |
|
Eric Rowell
|
522607695f
|
Text fontSize unit is now in pixels (used to be points). Default text lineHeight attr is now 1 (used to be 1.2)
|
2013-01-01 19:36:13 -08:00 |
|
Eric Rowell
|
7ef59fdcb2
|
added more blob unit tests
|
2013-01-01 18:14:30 -08:00 |
|
Eric Rowell
|
9031aaf067
|
updated readme
|
2013-01-01 18:07:43 -08:00 |
|
Eric Rowell
|
e9d56dafba
|
added new Blob shape. removed double quotes from all shapes. made it easier for shapes to extend other shapes
|
2013-01-01 00:41:13 -08:00 |
|
Eric Rowell
|
e44f369bf1
|
improved Spline docs
|
2012-12-31 20:34:50 -08:00 |
|
Eric Rowell
|
176e805e58
|
decided to make an actual Spline shape. Will create a Blob shape soon, which will be an enclosed spline
|
2012-12-31 20:30:00 -08:00 |
|
Eric Rowell
|
f3a1e9a247
|
new spline attr for the Line shape which enables splines
|
2012-12-31 19:24:35 -08:00 |
|
Eric Rowell
|
b97a7ab1ba
|
cleaned up Path docs
|
2012-12-31 15:12:52 -08:00 |
|
Eric Rowell
|
7cb4c4269f
|
huge changes to Text shape. Skinnied it up by removing rectangle rendering component. textFill is now fill, textStroke is now stroke, textShadow is now shadow, and textStrokeWidth is now strokeWidth
|
2012-12-31 12:45:32 -08:00 |
|
Eric Rowell
|
356661ecff
|
updated unit tests with new shadow API
|
2012-12-31 10:46:23 -08:00 |
|
Eric Rowell
|
206f7bf8d0
|
fixed up group drag and drop
|
2012-12-31 01:47:49 -08:00 |
|
Eric Rowell
|
83bf1740a6
|
flattened shadow object into shadowColor, shadowBlur, shadowOpacity, and shadowOffset attrs
|
2012-12-31 00:45:38 -08:00 |
|
Eric Rowell
|
9cd0df651c
|
leveraged new eachAncestorReverse() method where possible
|
2012-12-30 23:48:46 -08:00 |
|
Eric Rowell
|
7ba40a6a68
|
drag and drop operatons now dynamically generate a temporary top layer for high performance drag and drop. When completed, the top layer is removed. Also cleaned up a bit of drag and drop logic
|
2012-12-30 23:14:23 -08:00 |
|
Eric Rowell
|
36584a3ce2
|
cleaned up docs, and beefed up individual shape docs. moved corner radius attr to Rect shape
|
2012-12-22 23:08:03 -08:00 |
|
Eric Rowell
|
375c64a332
|
added counter pixel ratio method so that drawings aren't double scaled when using toDataUrl and toImage
|
2012-12-21 22:51:57 -08:00 |
|
Eric Rowell
|
03834db910
|
updated readme and Animation docs
|
2012-12-21 07:53:26 -08:00 |
|
Eric Rowell
|
aa05f90ea4
|
updated stage docs
|
2012-12-16 20:52:07 -08:00 |
|
Eric Rowell
|
ff93a18b0e
|
updated Shape and Wedge docs
|
2012-12-16 12:56:30 -08:00 |
|
Eric Rowell
|
7876949ef1
|
updated Canvas docs
|
2012-12-16 12:41:41 -08:00 |
|
Eric Rowell
|
f18bf604de
|
added pixel ratio optimization to sharpen renderings for devices with a pixel ratio > 1
|
2012-12-13 21:53:39 -08:00 |
|
Eric Rowell
|
5e16b3d7d0
|
fix bug 169 when removing a node, be sure to also remove the drag and drop reference
|
2012-12-13 00:01:24 -08:00 |
|
Eric Rowell
|
3fb9576672
|
each animation now has its own frame object. This fixes issues that were seen when using multiple animations simultaneously
|
2012-12-11 22:34:58 -08:00 |
|
Eric Rowell
|
16f81f6204
|
fixed up stage toImage() translation problem
|
2012-12-11 00:21:43 -08:00 |
|
Eric Rowell
|
cb8d36c393
|
fixed several bugs with toImage(). toImage() can now also accept x and y params. added extensive caching unit test. removed drawBuffer logic as it is no longer needed
|
2012-12-11 00:08:59 -08:00 |
|