Eric Rowell
|
8c9d2b5459
|
setAttr() is now a public method that can be used to set Kinetic attrs, or custom attrs
|
2013-05-14 22:37:33 -07:00 |
|
Eric Rowell
|
2cf81cc6dd
|
attr change events no longer bubble. this improves setter + render performance by about 25%
|
2013-05-12 23:37:24 -07:00 |
|
Eric Rowell
|
e66e147274
|
Animations can now be tied to multiple layers. Removed Transition and Tween class from the build. Unhooked transition unit and manual tests for now. Added new animation setLayers() and getLayers() methods
|
2013-05-05 20:57:31 -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
|
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
|
dc107a06ae
|
fixed small logical error with startDrag()
|
2013-03-24 20:54:59 -07:00 |
|
Eric Rowell
|
3c63b13c95
|
fixed drag and drop regression bug
|
2013-03-24 18:17:58 -07:00 |
|
Eric Rowell
|
a4d1dc8dab
|
stage drag and drop works again. continued refactoring DragAndDrop.js
|
2013-03-24 02:31:39 -07:00 |
|
Eric Rowell
|
40979443e1
|
removed legacy temp drag layer operation
|
2013-03-24 01:28:06 -07:00 |
|
Eric Rowell
|
ce793a4b25
|
refactored / cleaned up code in Node and DD
|
2013-03-23 22:56:22 -07:00 |
|
Eric Rowell
|
b5c1bc633a
|
removed dynamic drag and drop layer all together. In the end, the performance benefits (small) did not out weigh the complexity consequences
|
2013-03-23 21:47:15 -07:00 |
|
Eric Rowell
|
c31abf6be3
|
changed getUserPosition to getPointerPosition, and setUserPosition to setPointerPosition
|
2013-03-23 20:15:49 -07:00 |
|
Eric Rowell
|
966ebf2a32
|
lots of refactoring, and code hardening. Also fixed bug in which dragend events were being fired before mouseup/touchend events
|
2013-03-23 20:02:11 -07:00 |
|
Eric Rowell
|
0c80f6e223
|
rewrote dynamic drag and drop layer because the old implementation had too many problems. This resolves all of the dynamic drag and drop issues in one go. draw() method can now be applied to any node, not just the Stage and Layers. drag events now bubble
|
2013-03-22 00:46:41 -07:00 |
|
Eric Rowell
|
69f9374c8e
|
first pass at removing setDefaultAttrs logic to speed up node instantation performance
|
2013-03-15 08:33:05 -07:00 |
|
Eric Rowell
|
d8d17eb6ef
|
fixed up Wedge clockwise logic, and fixed dragOnTop documentation
|
2013-02-12 22:12:25 -08:00 |
|
Eric Rowell
|
1775913476
|
mouseup and click events now work correctly after dragging and dropping a shape
|
2013-01-29 10:12:24 -08:00 |
|
Eric Rowell
|
39959eddbd
|
drag and drop dragend event is now fired after drag and drop animation is stopped
|
2013-01-29 09:54:26 -08:00 |
|
Eric Rowell
|
79fecd2c13
|
dynamic drag layer setup now does deep copy of Groups and Layers when reconstructing ancestors
|
2013-01-28 21:27:08 -08:00 |
|
Eric Rowell
|
1bcdd15f45
|
drag and drop now ends whenever a mouseup or touchend event is detected anywhere on the page
|
2013-01-27 22:25:16 -08:00 |
|
Eric Rowell
|
be295992e0
|
when parent and children are both draggable, the lowest level child draggable property now has priority over ancestors. Refactored dependency order in thorfile
|
2013-01-27 21:29:22 -08:00 |
|
Eric Rowell
|
abbaef1cc6
|
refactored drag and drop a bit and fixed a dependency bug
|
2013-01-13 22:32:08 -08:00 |
|
Eric Rowell
|
69b617c0c6
|
drag and drop now works correctly when using dragOnTop mode inside transformed group
|
2013-01-13 20:16:58 -08:00 |
|
Eric Rowell
|
8ed84f474a
|
fixed several memory issues with transition logic. Heavily refactored Transition module. New Animation isRunning method. destroy() method now correctly stops currently running transitions. added several transition and destroy related unit tests
|
2013-01-13 19:59:35 -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
|
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
|
3a6a55d1cc
|
fixed edge case when setting draggable=false on dragend
|
2013-01-07 19:51:20 -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
|
206f7bf8d0
|
fixed up group drag and drop
|
2012-12-31 01:47:49 -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
|
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
|
ab19b442a0
|
wrapped all modules with anonymous func. moved Canvas to root dir because it's now coupled to KineticJS logic. removed whitelisting arrays from Global. Did some prep work for AMD and Node support
|
2012-12-01 12:04:10 -08:00 |
|
Eric Rowell
|
e04b979063
|
improved drag and drop performance by skipping buffer redraws on drag move
|
2012-11-17 22:29:07 -08:00 |
|
Eric Rowell
|
0b9af3028c
|
continued refactoring and decoupling drag and drop logic. The code base now looks fully decoupled as far as I can tell - next step is to test configurator combinations
|
2012-10-14 20:22:22 -07:00 |
|
Eric Rowell
|
3d0cb26e6d
|
updated build file to also minify modules separately for custom builds. Started work on decoupling Animation and DragAndDrop logic from other modules
|
2012-10-14 18:46:04 -07:00 |
|