kangax
35d5cf220f
[BACK_INCOMPAT] Make fabric.Object#toDataURL synchronous. Fix fabric.Object#cloneAsImage to preserve angle. Closes #596
2013-05-01 14:49:42 -04:00
kangax
f5b88b4045
Make fabric.Canvas#isTargetTransparent public. Closes #595
2013-05-01 09:58:39 -04:00
kangax
e8825bc581
Doc fixes
2013-05-01 09:35:26 -04:00
kangax
775df6e836
Move state-related methods to stateful mixin
2013-05-01 09:29:57 -04:00
kangax
17974a55be
Reuse mt coordinate values in mtr coordinates. Closes #592
2013-05-01 03:06:04 -04:00
kangax
eeecde62a8
Normalize style values. Closes #598
2013-05-01 02:58:59 -04:00
Stefan Kienzle
6caf60670b
Fixed _renderFill - fallback for offsetX/offsetY
...
If object.fill.offsetX or object.fill.offsetY is undefined (e.g. fill = fabric.Gradient) browser might have problems (seen in firefox 3.6.28).
2013-04-30 16:27:01 +03:00
kangax
a6a5cb4a54
Load image via fabric.util.loadImage in cloneAsImage. Add fabric.util.createImage helper. Closes #593
2013-04-29 15:16:59 -04:00
kangax
f6da728aad
Add support for parsing "compressed" path data in SVG path's. Version 1.1.10
2013-04-29 11:12:20 -04:00
kangax
d755d64c76
Remove unnecessary renderAll calls. Thanks @Kienz. Closes #587
2013-04-26 21:49:13 -04:00
Stefan Kienzle
acfddabe16
Fire 'object:selected' only once
...
The event 'object:selected' should only be called on first activation.
Fixes #584
2013-04-26 11:55:13 +03:00
kangax
4e1a26cc11
Update docs
2013-04-25 14:21:32 -04:00
kangax
56e6107752
Doc fixes
2013-04-25 13:52:05 -04:00
kangax
c16dcf88a4
Change inline docs to conform to jsdoc3
2013-04-24 12:58:04 -04:00
kangax
40d5a52492
More robust rendering of text on Node.js; left-aligned text is now aligned consistently.
2013-04-24 12:50:38 -04:00
kangax
66c3c80d18
Fix doc
2013-04-22 09:26:57 -04:00
kangax
22de40dc54
Add support for pattern offsets (via fabric.Pattern#offsetX/offsetY). Version 1.1.8
2013-04-22 09:16:58 -04:00
kangax
dce3f6f6ca
Optimize _initDimensions to not create off-screen canvas every time. Closes #564
2013-04-20 12:04:45 -04:00
Juriy Zaytsev
9a34bbfba2
Merge pull request #568 from Kienz/patch-1
...
Return unselectable objects in canvas 'mouse:down' event
2013-04-20 08:58:41 -07:00
Kienz
d03da23d0a
- lockUniScaling now can't be overridden with shiftKey or uniScaleTransform property
...
- Pass event to object 'rotating'
- some refactoring
2013-04-20 15:01:09 +02:00
Stefan Kienzle
571887036f
Bugfix object.opacity == 0 in svg output
...
If object.opacity = 0 the svg output sets opacity to 1.
2013-04-19 14:35:52 +03:00
kangax
e56d37d9da
Fix text and line rendering in path group. Add support for multiple declarations in "transform" attribute. Fix stroke color of line. Version 1.1.7
2013-04-18 21:42:46 -04:00
Juriy Zaytsev
359df373c0
Merge pull request #569 from xxorax/master
...
Build canvas from json even if no object is sent
2013-04-18 15:13:55 -07:00
Martin Panel
4071fd7040
Fix backgroundImageLoaded not checked
2013-04-19 00:01:53 +02:00
Stefan Kienzle
53c8b074c2
findTarget now retuns unselectable objects
2013-04-18 17:51:53 +03:00
Stefan Kienzle
854d0db56c
Clear selection for unselectable object
...
Now objects are found even they are unselectable - expand _shouldClearSelection for unselectable objects.
Don't call findTarget() - new in parameter target.
2013-04-18 17:50:02 +03:00
Stefan Kienzle
99f31b5753
Return target on mouse:down (even for unselectable objects)
...
canvas 'mouse:down' event only returns selectable objects.
2013-04-18 17:42:47 +03:00
Tim Andres
3950298c75
Changed nestTransformMatrices to mutilplyTransformMatrices
2013-04-17 13:54:11 -04:00
Tim Andres
bd058e6a94
Fetched and merged upstream changes
2013-04-17 13:53:43 -04:00
Martin Panel
13acd4ee76
Build canvas from json even if no object is sent.
2013-04-17 02:11:56 +02:00
kangax
8879c73af7
Document lock* properties. Build distribution
2013-04-16 12:44:54 -04:00
Tim Andres
63809278d2
Documented new matrix multiplication utility
2013-04-16 02:26:22 -04:00
Tim Andres
e2bba99e98
Fixed path translation bug with SVG parsing
2013-04-16 01:49:42 -04:00
Stefan Kienzle
e73fe4625e
Return object reference in drawControls and drawBorders
...
Closes #556
2013-04-12 00:47:07 +03:00
kangax
e8c9c7b0f1
Fix group selection when animation is in progress. Thanks @Kienz
2013-04-10 16:46:16 +02:00
kangax
7f190662d1
Do not parse fill value if it's not a string (but, for example, a gradient or pattern)
2013-04-08 13:41:46 +02:00
Stefan Kienzle
185686738e
fabric.Rect.fromElement() are wrong positioned
...
If the left/top properties are 0 they are ignored - they are not normalized.
http://jsfiddle.net/Kienz/3SmUC
2013-04-08 09:25:33 +03:00
kangax
a0bc7b6904
Fix doc typo
2013-04-06 12:46:01 +02:00
kangax
fcc0c5cbbb
Only call change and complete callbacks once, when animating multiple properties. Closes #544
2013-04-06 12:44:10 +02:00
Stefan Kienzle
9c76ba0f92
Add svg element to async objects (reviver)
...
If async objects parsed (image), the reviver svg element is undefined.
You can see it here:
http://jsfiddle.net/Kienz/nhYww/
2013-04-05 19:06:02 +03:00
kangax
c22d9f0c18
req_handler -> reqHandler
2013-04-04 14:05:24 +02:00
kangax
97222fbaa1
Remove pathOffset from object/json output for now
2013-04-04 14:03:22 +02:00
kangax
4e74f4d7ab
Preserve group reference on objects in group after adding/removing some object from group. Closes #533
2013-04-04 13:58:08 +02:00
kangax
c294ae2b3a
[BACK_INCOMPAT] fabric.Text#strokeStyle -> stroke, for consistency with other objects. Closes #535
2013-04-04 13:58:08 +02:00
kangax
4be589019c
Fix positioning of line and image instances when part of a group
2013-04-04 13:58:08 +02:00
kangax
6e725ae18b
Support stroke on image instances. Closes #536
2013-04-04 13:58:08 +02:00
kangax
4d037e979a
Document strokeDashArray on fabric.Rect
2013-04-04 13:58:08 +02:00
Juriy Zaytsev
9e10349558
Merge pull request #531 from shiloa/master
...
Fix crash (segfault) on node.js if canvas loads images with secure url (https://...)
2013-04-04 04:55:14 -07:00
Juriy Zaytsev
2c7205fec1
Merge pull request #537 from Kienz/shadowBrush
...
Fix reset shadow of fabric brushes
2013-04-04 03:39:19 -07:00
Taher Haveliwala
bafc75b35c
The jsdoc params for fabric.Image.clone() were out of order, making
...
the jsdoc API reference for this method at
http://fabricjs.com/docs/symbols/fabric.Image.html
display an incorrect method summary (with the order of propertiesToInclude
and callback swapped).
2013-04-03 20:14:14 -07:00
Kienz
4e61f7eb2e
Fix reset shadow of fabric brushes
2013-04-03 21:09:31 +02:00
Kienz
f5eb524ddd
Don't set activeObject if clicked on activeGroup
...
canvas._activeGroup should be null if clicked on activeGroup.
Only set activeObject if target !== activeGroup.
2013-04-03 16:17:46 +03:00
Kienz
0fdb97f289
Activate clicked object if group selection is cleared
...
If group selection is cleared and pointer clicked other object
=> activate this object.
See issue #506
2013-04-03 16:07:27 +03:00
shilo
2c2206b951
rendering canvas on node.js - fixed issue with segfault occuring when downloading an image that comes from https (secure) url
2013-04-03 13:40:48 +03:00
Kienz
142a7a9779
Fire event 'removed' on object level
...
There is ```obj.fire('added')``` but not ```obj.fire('removed')```.
2013-04-02 16:05:51 +03:00
kangax
4c5df5ea0c
Specify that loadSVGFromURL uses XHR and conforms to SOP
2013-04-02 13:47:47 +02:00
kangax
c66707b3e5
Cleanup events and gestures modules
2013-03-30 01:36:27 +01:00
kangax
26c2590066
Group fixes. Closes #504 . Closes #505
2013-03-30 01:36:15 +01:00
kangax
b0a6d8cd7d
Fix pixelate filter. Thanks @Oleg. Closes #523
2013-03-30 01:30:46 +01:00
kangax
d24d6307e5
[BACK_INCOMPAT] fabric.Object.setActive(…) -> fabric.Object.set('active', …). fabric.Object.isActive is gone (use active instead)
2013-03-29 16:26:27 +01:00
kangax
75873ebf95
Only transform rect when part of path group not group. Closes #495
2013-03-29 13:20:35 +01:00
kangax
27c6f2529c
Mention that set doesn't update border/control and that setCoords should be called for that. Closes #518 .
2013-03-29 12:44:05 +01:00
Kienz
0b078cd4be
Include pathOffset in fabric.Path.toObject()
...
Include pathOffset in toObject() of fabric.Path and use it (if defined) in _initializePath().
This should fix issue #500 .
2013-03-28 16:07:00 +01:00
Kienz
dfec3dd2f0
fabric.StaticCanvas.clear() delete _activeObject
...
If canvas is cleared ```canvas._activeObject``` should be removed.
2013-03-28 09:06:36 +01:00
kangax
40bda07140
Fix fabric.Canvas#clipTo. Thanks @sn3p
2013-03-24 18:09:55 +01:00
kangax
81e8f9c2e2
Fix node-based url request
2013-03-24 00:05:13 +01:00
kangax
40490dc7f3
Add support for loading local files in fabric.loadSVGFromURL
2013-03-24 00:04:50 +01:00
kangax
4911cc036b
Make fabric.Image.fromURL use fabric.util.loadImage which fixes it under Node
2013-03-23 23:16:16 +01:00
Juriy Zaytsev
81993d21fb
Merge pull request #494 from Kienz/moveTo
...
Implement fabric.StaticCanvas#moveTo(object, index)
2013-03-23 14:55:14 -07:00
Juriy Zaytsev
e8de627f98
Merge pull request #493 from Kienz/viewBoxSVG
...
Add option to define viewBox in fabric.Canvas#toSVG
2013-03-22 11:18:01 -07:00
Kienz
3a0a2c7fd2
Implement fabric.StaticCanvas#moveTo to move object to specified level in stack of drawn objects
...
You can also move fabric.Group objects in the grub objects stack to a specified level.
Add unit tests for moveTo.
2013-03-22 15:10:44 +01:00
Kienz
9e79c487be
Add viewBox attribute to toSVG(options) to define the viewBox of sag output.
2013-03-22 12:57:33 +01:00
Kienz
4b1939e5d3
Add check if object is visible to fabric.Image and fabric.Path. Now all fabric instances with own render method should check for visible property.
...
Some doc updates - add noTransform to doc and set it optional
2013-03-22 12:10:34 +01:00
Juriy Zaytsev
97fdc215a8
Merge pull request #488 from Kienz/patch-2
...
Bugfixes for fabric.Object#visible
2013-03-20 16:13:41 -07:00
kangax
24735e6e31
Fix removal of event listeners in fabric.Canvas#dispose on touch-based devices. Version 1.1.3
2013-03-20 23:38:22 +01:00
Kienz
6379278384
fabric.Text#visible not working
...
Bugfix for text objects - only render visible objects
2013-03-20 19:20:05 +01:00
Kienz
292178474d
fabric.Object#visible bugfixes and improvements
...
Bugfixes if perPixelTargetFind = false => object are found if they are invisible with mouse hover.
Only consider visible objects in findTarget (improvement).
2013-03-20 19:17:39 +01:00
kangax
919f95a0a0
Move collection-related methods to fabric.Collection, shared by fabric.Canvas and fabric.Group.
2013-03-20 10:28:35 +01:00
kangax
8bea909a54
Merge master
2013-03-19 15:52:14 +01:00
kangax
2a5645fcd5
Fix scaling event not firing sometimes. Thanks @rcyrus.
2013-03-19 15:36:25 +01:00
kangax
7f19110967
Update docs on left/top being relative to object center
2013-03-19 13:20:21 +01:00
Kienz
4800b0729b
fabric.Group#visible = false did not work
...
The fabric.Object#visible attribute has no affect to fabric.Goup and its objects.
2013-03-18 14:32:05 +01:00
kangax
e8e32e80de
Fix gradient colorStops initialization. Thanks @Kienz
2013-03-18 13:11:31 +01:00
kangax
9bb38c144c
Fix toDataURL not honoring format. Thanks ebirbal.
2013-03-18 13:03:54 +01:00
kangax
7123ea357f
Fix JSHint warnings
2013-03-16 16:41:36 +01:00
kangax
2622a380bf
[BACK_INCOMPAT] fabric.Group#objects -> fabric.Group._objects (making it consistent with canvas._objects). Objects in group always have group reference to a group they're in. bringToFront, sendToBack, etc. now work in relation to group when called on objects within group.
2013-03-16 16:41:19 +01:00
kangax
85fd7ee852
Add support for clipping objects. Closes #64
2013-03-10 21:06:17 +01:00
kangax
012c333bbb
Fix gradient initialization
2013-03-10 21:05:24 +01:00
kangax
e886fee63d
Add docs for ellipse rx/ry
2013-03-10 21:04:44 +01:00
Juriy Zaytsev
c366e1d184
Merge pull request #470 from Kienz/visiblePropFix
...
Bugfix fabric.PathGroup if object is not visible
2013-03-09 15:04:58 -08:00
Kienz
5fec23e7c1
JSHint - remove extra comma at the end of the fabric.Color.colorNameMap object
2013-03-09 22:38:42 +01:00
Kienz
df46e3af26
Bugfix fabric.PathGroup if object is not visible
...
- if object is not visible and of type 'path-group' the object was still drawn
2013-03-09 22:15:31 +01:00
Kienz
e35e1a0191
[BACK_INCOMPAT] Implement fabric.Gradient#toSVG() and radialGradient
...
- Implement radial gradient and expand linear gradient (stop-opacity should now take into account)
- Gradients should now be included in the SVG output for the following fabric objects: circle, ellipse, line, path, polygon, polyline, rect and triangle (text is not yet implemented)
- Gradients (linear / radial) can be applied to stroke or fill property => change setGradientFill(options) to setGradient(type, options)
- Change toObject() that linear and radial gradients can be serialized
- Expand fabric.Color by 16 basic colors fabric.Color.colorNameMap => gradients with e.g. stop-color="blue" and stop-opacity="0.5 can be converted to RGBA color
- RGBA colors in svg has no affect (convert to RGB color), only stop-opacity has affect to color opacity
- Attached some test svg files http://kienzle.geschaeft.s3.amazonaws.com/projects/fabricjs/gradients/gradients.rarUpdate setGradient and addColorStop interface
Update setGradient and addColorStop interface
- setGradient('fill', {x1: 50, y2: 10, colorStops: {'0.7', 'rgba(0,153,153,0.5)'}});
- addColorStop({'0.4', 'blue'});
2013-03-09 21:00:54 +01:00
kangax
ece75b6065
Remove unused maxY variable
2013-03-09 15:28:30 +01:00
Juriy Zaytsev
79575b9dc7
Merge pull request #467 from xxorax/master
...
Fix backgroundColor render on nodejs
2013-03-08 15:59:02 -08:00
root
b6a178d8a1
Fix backgroundColor render on nodejs
2013-03-09 00:34:54 +01:00
root
246c45d57c
Merge branch 'master' of github.com:xxorax/fabric.js
...
Conflicts:
src/node.js
2013-03-09 00:32:11 +01:00
Atis
70d3c702b1
fix infinity check so that Closure Compiler does not choke on it
2013-03-08 19:41:33 +02:00
Martin Panel
dfb1e2a230
Fix backgroundColor render on nodejs
2013-03-07 22:14:30 +01:00
Martin Panel
f84a8628c3
Fix backgroundColor render on nodejs
2013-03-07 22:11:30 +01:00
kangax
e917b144aa
Remove unnecessary space in SVG output
2013-03-06 18:55:26 +01:00
kangax
506125bbe6
[BACK_INCOMPAT] fabric.Canvas.toDataURL now accepts options object instead linear arguments. fabric.Canvas.toDataURLWithMultiplier is deprecated; use toDataURL({ multiplier: … }) instead.
2013-03-06 18:47:50 +01:00
kangax
43dd170f5b
Add fabric.Object#visible property. Closes #342 . Version 1.0.13.
2013-03-06 18:45:18 +01:00
kangax
9f934d4dad
Minor style change
2013-03-05 19:33:16 +01:00
kangax
39fc445c07
Add fontStyle to delegated properties
2013-03-05 19:33:16 +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
kangax
b260845af9
Fix hasControls value being lost after object is part of a group. Closes #445 .
2013-03-02 01:39:32 +01:00
kangax
af5a0ac74f
Make group getter respect delegated properties
2013-03-02 01:25:34 +01:00
kangax
638876f3f8
Add support for passing additional state properties into saveState
2013-03-02 01:25:08 +01:00
kangax
293227811f
Doc additions
2013-02-27 00:48:27 +01:00
Kienz
ae67d83216
Update setGradient and addColorStop interface
...
- setGradient('fill', {x1: 50, y2: 10, colorStops: {'0.7', 'rgba(0,153,153,0.5)'}});
- addColorStop({'0.4', 'blue'});
2013-02-25 18:26:20 +01:00
kangax
17a88e93e1
Doc fixes
2013-02-24 12:40:16 +01:00
Kienz
4c4f845bfe
[BACK_INCOMPAT] Implement fabric.Gradient#toSVG() and radialGradient
...
- Implement radial gradient and expand linear gradient (stop-opacity should now take into account)
- Gradients should now be included in the SVG output for the following fabric objects: circle, ellipse, line, path, polygon, polyline, rect and triangle (text is not yet implemented)
- Gradients (linear / radial) can be applied to stroke or fill property => change setGradientFill(options) to setGradient(type, options)
- Change toObject() that linear and radial gradients can be serialized
- Expand fabric.Color by 16 basic colors fabric.Color.colorNameMap => gradients with e.g. stop-color="blue" and stop-opacity="0.5 can be converted to RGBA color
- RGBA colors in svg has no affect (convert to RGB color), only stop-opacity has affect to color opacity
- Attached some test svg files http://kienzle.geschaeft.s3.amazonaws.com/projects/fabricjs/gradients/gradients.rar
2013-02-23 17:02:52 +01:00
kangax
7d9c91de70
res -> response and remove unnecessary semicolon
2013-02-22 17:24:22 +01:00
Juriy Zaytsev
4651d6ecd9
Merge pull request #413 from uruz/feature/fix-failing-test
...
Fix failing test: fabric.util.loadImage
2013-02-22 08:22:09 -08:00
kangax
be4db2f409
Fix doc. Thanks @rodrigopandini
2013-02-20 23:42:38 +01:00
Juriy Zaytsev
a0c31a2628
Merge pull request #437 from Kienz/svgOutputValidation
...
Ensure valid SVG output (http://validator.w3.org/ )
2013-02-20 04:28:32 -08:00
kangax
9be89b2f2f
drawCorners -> drawControls, for consistency. Remove unused hasCorners and use hasControls instead of hideCorners. Version 1.0.12
2013-02-20 13:19:22 +01:00
Kienz
686b926955
Valid svg output ( http://validator.w3.org/ ):
...
- delete width/height attributes from g (http://www.w3.org/TR/SVG/struct.html#GElement ) and path element (http://www.w3.org/TR/SVG/paths.html#PathElement )
- update DOCTYPE for svg version 1.1
2013-02-19 19:48:07 +01:00
kangax
80469a23eb
Fix createCanvasElement canvas initialization. IE<9 now works again.
2013-02-19 13:34:50 +01:00
Kienz
ec28167906
Fix for issue #433 - wrong width/height of image objects
...
If svg with image objects was parsed the width/height props
of the image were overridden by width/height of the svg file.
2013-02-19 09:19:46 +01:00
kangax
9df85553b9
[BACK_INCOMPAT] Add fabric.util.createAccessors. Add accessors for fabric.Text -specific properties (setTextDecoration, setFontWeight, setFontStyle, etc.). Make text object dimensions change when setting dimension-affecting properties. fabric.Text#setFontsize becomes setFontSize. Version 1.0.11.
2013-02-18 16:22:48 +01:00
kangax
5a91472bdc
Remove trailing comma
2013-02-17 13:26:45 +01:00
Kienz
b172a47ebe
Fixed svg output for backgroundColorPattern with repeat: 'no-repeat'
2013-02-16 18:55:00 +01:00
kangax
a77cbfe2be
Text fixes for node-canvas. Version 1.0.9
2013-02-15 14:11:58 +01:00
Kienz
d9f88d061d
fabric.Group objects toSVG() order changed
...
Changed the sort order in toSVG() from "first..last" to "last..first".
If they rendern on canvas the same order is used https://github.com/kangax/fabric.js/blob/master/src/group.class.js#L243
2013-02-15 13:17:12 +01:00
Kienz
5e81f7ab09
Add backgroundColor to svg output
...
Add backgroundColorPattern to svg output
Bugfix backgroundImage in sag output - width/height are depend on backgroundImageStretch
Bugfix in setBackgroundColor - rename pattern to repeat
2013-02-14 22:06:01 +01:00
Kienz
2cd3525147
Bugfix for wrong offset if object is cloned. Same bug as issue #416
2013-02-13 19:22:19 +01:00
kangax
160e7e5ded
Alias fabric.Observable.fire to trigger, similar to jQuery, Backbone, etc. Closes #401
2013-02-11 13:22:30 +01:00
kangax
97fa81aa77
Fix polygon boundaries. Closes #416
2013-02-11 13:21:33 +01:00
kangax
d9291fbfe5
Add shadow support to brushes
2013-02-06 23:55:15 +01:00
kangax
b55c35f865
Merge master
2013-02-06 23:28:17 +01:00
kangax
a0dcad78a1
Specify that fontSize is in pixels
2013-02-06 22:36:39 +01:00
kangax
776d966bdb
Remove polygon offsetting fix which broke some SVG shapes
2013-02-06 21:04:14 +01:00
kangax
4995fd9ed1
Fix free drawing path initialization
2013-02-06 20:41:58 +01:00
kangax
a4340fda45
Doc fixes
2013-02-06 16:20:53 +01:00
kangax
c49cbd33bc
Fix bug in loadFromJSON
2013-02-06 16:20:53 +01:00
kangax
e4719d4300
Add support for animating 2nd level object properties
2013-02-06 16:20:53 +01:00
Arthaey
48ab4607b9
Add option to suppress XML preamble in toSVG method.
2013-02-05 22:20:56 -08:00
Alexey Boriskin
137aa0eaa5
Fixed failing test: fabric.util.loadImage
2013-02-05 20:51:01 +04:00
kangax
5ee9b13a92
Add support for shadows (via fabric.Shadow)
2013-02-04 20:49:05 +01:00
kangax
8b04e286a8
Log full errors instead of just its messages
2013-02-04 20:49:05 +01:00
kangax
d645c4e7dc
Add ability to specify pattern repeat via options
2013-02-04 20:49:05 +01:00
Kienz
cfb97f3f83
Fix backgroundColor (backgroundPattern) in loadFromJSON / loadFromDatalessJSON
2013-02-04 15:40:18 +01:00
kangax
7fd1a09174
Fix typo in serialization module
2013-02-03 02:17:46 +01:00
kangax
5f8bff50a7
Some free drawing refactoring
2013-02-03 02:15:29 +01:00
kangax
6777c50012
Add support for patterns
2013-02-03 02:15:29 +01:00
kangax
cb0815022d
Change pattern brush to work with fabric.Pattern
2013-02-03 02:14:47 +01: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