kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
Michael Sievers
7cb161438c
Move getScrollLeftTop from dom_events.js to dom_misc.js
2013-11-20 10:42:34 +01:00
kangax
6210da1568
Avoid jshint error with "unknown" typeof
2013-10-30 18:15:02 +01:00
kangax
bc5b78f60c
Refactor touch event abstraction
2013-10-30 17:29:55 +01:00
kangax
9433729124
Refactor getPointer
2013-10-30 17:26:26 +01:00
kangax
8f42a40964
Refactor pointerX/pointerY
2013-10-27 13:01:38 +01:00
kangax
41ab3a0064
Doc additions
2013-09-26 14:12:02 +02:00
Kienz
92bdebfde7
Doc fixes, Update README (1800+ unit tests)
2013-08-08 18:31:26 +02:00
kangax
3eb00518f8
Fix pointer detection in scrollable container. Thanks @kwicher. Closes #730
2013-07-07 22:32:03 +02:00
Kienz
a6eab8d4e2
Fix wrong canvas offset
...
- Copy inline style attributes from lowerCanvasEl to upperCanvasEl
- Copy classes from lowerCanvasEl to upperCanvasEl
- Add borderTopWidth, borderLeftWidth, paddingTopWidth and paddingLeftWidth (offsetAttributes) to canvas offset (fabric.util.getElementOffset) - these properties are not considered from getBoundingClientRect()
- JSfiddle's for tests - new: http://jsfiddle.net/Kienz/KRcsY/ , old: http://jsfiddle.net/Kienz/xrMDr/
2013-05-25 17:32:42 +02:00
kangax
c16dcf88a4
Change inline docs to conform to jsdoc3
2013-04-24 12:58:04 -04:00
kangax
43dd170f5b
Add fabric.Object#visible property. Closes #342 . Version 1.0.13.
2013-03-06 18:45:18 +01:00
llocust
ff8b09fb35
Update dom_event.js
...
Sorry.. Copy+Past from .min version...
e->event
2013-03-05 04:54:41 +04:00
llocust
5662472f81
Update dom_event.js
...
On a mobile (touchbased) platform at an event 'touchend' data are stored in the changedTouches array.
2013-03-05 04:14:43 +04:00
Kienz
ddaf8ba796
Fix touch events if canvas is inside a scrolled container (see issue #123 ).
...
Fix bug if mouse moves over absolute scrolled element while object scaling (see issue #385 ). Also if mouse is moved over documentElement (fabric.document) while scaling object is fixed (same issue like #385 ).
Tested with Safari 5.1.7, 6.1, Firefox 18, 3.6.28, Chrome 24/25beta, Opera 12.12 and iPhone iOS 6.1, iPad iOS 6.1 in non-scrolled and scrolled containers.
2013-02-01 18:27:20 +01:00
kangax
dc2e5210ae
Work around VML's clearRect bug
2013-01-03 01:18:29 +01:00
kangax
fb915851db
Fix lost event in IE7/8. Closes #364 .
2012-12-29 20:00:24 +01:00
Kienz
4b56e3f8ae
Fix for touch devices - only works if page is has no scrolling. I've tested it no iPad with iOS 6.01.
2012-12-10 13:44:26 +01:00
kangax
01982a446c
Do not use uniqueID in IE as it's not always unique. Fix #311 .
2012-11-15 12:49:10 +01:00
Steve Pemberton
e8a696c4b1
fix for retreiving scrolled & Fixed Descendants, Mouse Position
2012-10-24 19:56:48 +01:00
kangax
84a956c4b6
Lint everything with JSHint. Version 0.9.14.
2012-10-14 02:53:12 +02:00
kangax
78eda278d1
Fix double tap issue in iOS. Closes #146 .
2012-06-01 01:42:11 +04:00
kangax
b3768bcdd3
Check event.touches[0] exists before accessing a property. Thanks @zj831007. Closes #149 .
2012-04-08 18:20:19 +02:00
kangax
efd2aba325
Add basic touch event support.
2011-09-21 19:29:00 -04:00
kangax
8f819bb760
Fabric can now run under node.js
2011-08-11 15:18:18 -04:00
kangax
6845db3670
Rework observable mechanism: All events are now scoped to canvas instances. fabric.util.observeEvent(...) becomes canvas.observe(...) and only observes events of that particular canvas instance. fabric.util.observeEvent becomes fabric.util.observe, fabric.util.stopObservingEvent — fabric.util.stopObserving, and fabric.util.fireEvent — fabric.util.fire. These could still serve as a generic pub-sub mechanism. Add "mouse:down" event (to be consistent with "mouse:up"). Add "Event inspector" demo page.
2011-06-27 18:25:45 -04:00
kangax
e7e19c2247
Add fabric.util.stopObservingEvent. Needs tests.
2011-03-01 19:06:56 -05:00
kangax
33e929053e
More documentation.
2010-10-15 12:55:53 -04:00
kangax
639aa12e2a
Another chunk of documentation (which is a bitch, by the way).
2010-10-14 22:16:24 -04:00
kangax
7d2c7a35f2
Various IE fixes (most of the demo pages now function).
2010-08-27 12:27:49 -04:00
kangax
313cffa57f
Remove try/catch from around event handlers (for perf. reasons). Remove APE.anim references from fxCenterObjectH and fxCenterObjectV.
2010-07-27 14:07:59 -04:00
Juriy Zaytsev
2340a98526
Rename canvas_*.class.js files to just *.class.js
2010-07-09 21:50:13 -04:00