Commit graph

2572 commits

Author SHA1 Message Date
Fabian Ebner
61fff6b8c6 Clean up code and fix rotation issue 2013-09-25 21:50:09 +02:00
kangax
812717b207 Add fabric.Object#evented. fabric.Object#selectable now fires events again, but can not be selected. However, evented=false does not receive events at all. 2013-09-25 19:05:57 +02:00
Fabian Ebner
5576759eb4 Preserve rotation after flipping when group isn't selected anymore 2013-09-25 15:34:30 +02:00
kangax
7e9e27aba5 Fix object loading yet again 2013-09-24 18:34:32 +02:00
kangax
15a6a3c3df Fix objects enlivening with sparse arrays. Version 1.3.3 2013-09-24 15:58:52 +02:00
kangax
5dc3bcff6d Build distribution. Version 1.3.2 2013-09-24 13:25:38 +02:00
kangax
83ca60e885 Fix resolveNamespace and getKlass on node 2013-09-24 13:25:38 +02:00
Fabian Ebner
f02c657f84 If group was flipped and is destroyed always re-flip children 2013-09-24 12:47:39 +02:00
Fabian Ebner
6e96b3f1fb Allow flipping in fabric.Group to change the object positions permanently 2013-09-24 12:38:11 +02:00
rykerwilliams
a1935cdcb4 Updated event.js build. 2013-09-23 13:25:33 -04:00
Juriy Zaytsev
3e5abfcd6d Merge pull request #867 from Kienz/patch-1
Remove check for `fabric.Color` because only string values are allowed for color parameter
2013-09-23 09:15:44 -07:00
Stefan Kienzle
0a4bbfb4bb Remove check for fabric.Color because only string values are allowed for color parameter. Otherwise initialization breaks if opacity is not defined. 2013-09-23 17:56:07 +02:00
rykerwilliams
f083a3dabb Forgot __onShake method. 2013-09-23 10:55:00 -04:00
rykerwilliams
88aa0df407 Added new custom version of event.js. Added event listeners for shake, drag and orientation change.
Custom version available: https://github.com/rykerwilliams/Event.js
2013-09-23 10:10:40 -04:00
kangax
0a0e93ded9 Update dist files 2013-09-23 14:37:57 +02:00
kangax
89a1a11563 Fix exports again. Version 1.3.1 2013-09-23 14:34:07 +02:00
kangax
a173a2daa5 Avoid exports global var creation in non-requirejs build (as it conflicts with underscore, qunit, etc.) 2013-09-23 14:19:56 +02:00
rykerwilliams
888f324e46 Casing Issue. Remove unneed variables. 2013-09-21 17:51:51 -04:00
rykerwilliams
807f57b04a Missing comma 2013-09-21 17:42:03 -04:00
rykerwilliams
9283530837 Add wheel event mixin. 2013-09-21 17:41:06 -04:00
Juriy Zaytsev
0327a2dc99 Merge pull request #862 from Kienz/tintFilter
[BACK_INCOMPAT] Initialization of `fabric.Image.filters.Tint` is now different
2013-09-20 14:28:58 -07:00
Kienz
cabc63c633 Fixed unit test 2013-09-20 22:38:37 +02:00
Stefan Kienzle
60e9d0f144 [BACK_INCOMPAT] Initialization of fabric.Image.filters.Tint is now different - options.color: color string value, options.opacity: 0..1
Now you can define opacity of the tint filter (by rgba/hsla colors or with opacity attribute)
Doc additions
2013-09-20 19:51:55 +02:00
Juriy Zaytsev
e41ec97701 Update CHANGELOG.md 2013-09-19 22:58:29 +02:00
kangax
4befebb19d Build distribution with remote changes 2013-09-19 19:50:59 +02:00
kangax
6de9f65702 Fix animation abort 2013-09-19 19:49:51 +02:00
kangax
a0e2189650 Build distribution. Version 1.3.0 2013-09-19 19:49:51 +02:00
kangax
24836cbdaf Call abort earlier in animation loop (makes it possible to abort immediately) 2013-09-19 19:49:51 +02:00
kangax
d29a1d9ccd Uncomment fabric.Object#getPointByOrigin 2013-09-19 19:49:51 +02:00
Juriy Zaytsev
e627c8804a Merge pull request #856 from Kienz/patch-2
Fix wrong object order in `fabric.Group.toSVG`
2013-09-18 13:34:29 -07:00
Juriy Zaytsev
463ce578b5 Merge pull request #855 from Kienz/patch-1
[BACK_INCOMPAT] Fix `fabric.Text` to be fully contained within bounding box (including descenders)
2013-09-18 13:31:25 -07:00
Kienz
cb510b9ef3 Fixed fabric.Group.toSVG- object order was wrong 2013-09-18 19:17:50 +02:00
Kienz
815ca4ec70 Fixed fabric.Tectvertical position 2013-09-18 17:28:36 +02:00
Juriy Zaytsev
3c50e72548 Merge pull request #853 from Kienz/patch-1
Avoid unnecessary `renderAll` calls in mousedown and mouseup events
2013-09-18 06:17:51 -07:00
Kienz
516fa76b68 Fix jshint error 2013-09-18 08:23:36 +02:00
Juriy Zaytsev
d232a5c0a3 Merge pull request #854 from Kienz/patch-2
Doc additions - document object parameter
2013-09-17 17:00:45 -07:00
Kienz
721ac7a8c2 Doc additions - document object parameter 2013-09-17 22:42:58 +02:00
Stefan Kienzle
23a4685d22 Avoid unnecessary renderAll calls in mousedown and mouseup events.
Tested it with `canvas.selection = true/false`.
2013-09-17 18:45:54 +02:00
Kienz
ba2a0e6dff Fixed fabric.PatternBrush- brush style was not applied during the drawing mode 2013-09-16 19:05:23 +02:00
kangax
b7dc7267fb Build distribution 2013-09-15 20:31:22 +02:00
kangax
dbc96349ce Refactoring 2013-09-15 20:29:20 +02:00
kangax
74a4654782 Update .sublime-project 2013-09-15 20:29:20 +02:00
Juriy Zaytsev
fefbc74695 Merge pull request #850 from Kienz/patch-1
Fixed `object.toDataURL` if object's originX/originY != 'center'
2013-09-15 09:08:49 -07:00
Kienz
e69c19029a Fixed object.toDataURL if object's originX/originY != 'center'
Add documentation to object.toDataURL for options object
Alias "jpg" format to "jpeg". Closes #806
2013-09-15 18:02:15 +02:00
kangax
b077905781 Avoid creation of exports global var as this messes up QUnit (and probably something else) 2013-09-14 20:40:40 +02:00
kangax
408a8b9de6 Alias "jpg" format to "jpeg". Closes #806 2013-09-14 18:44:44 +02:00
kangax
7d56197f78 Few contribution tweaks 2013-09-14 18:39:10 +02:00
Juriy Zaytsev
651fe91f9a Merge pull request #848 from Kienz/patch-1
Move `setColor` from `fabric.Text` to `fabric.Object`
2013-09-14 08:47:55 -07:00
Kienz
26e784aede Move setColorfrom fabric.Text to fabric.Object
Fixed "enum" notation
`fabric.Object.setGradient` is now chainable
Doc additions
Add `fabric.Object.setPatternFill`unit test
Add chainable tests to some methods
2013-09-14 17:10:49 +02:00
kangax
f5f29a3925 Create group of circles in CircleBrush for better performance. Closes #530 2013-09-14 13:59:10 +02:00