Commit graph

716 commits

Author SHA1 Message Date
kangax
5998dfc1a5 toSVG now displays flipped objects correctly. Fix #297. Version 0.9.18. 2012-10-26 15:26:44 +02:00
kangax
17fe1a2929 Allow to change number precision in sag transform values. Thanks Will McNeilly. 2012-10-24 22:05:19 +02:00
Juriy Zaytsev
fd621c9844 Merge pull request #300 from sjpemberton09/development
Fix for retrieving scrolled & fixed descendants, mouse position.
2012-10-24 12:09:18 -07:00
Steve Pemberton
e8a696c4b1 fix for retreiving scrolled & Fixed Descendants, Mouse Position 2012-10-24 19:56:48 +01:00
kangax
0e3abc745d Fix unit test 2012-10-23 23:10:17 +02:00
kangax
b9da2c4da2 Use "alphabetic" as textBaseline value. This normalizes vertical text position across browsers. Thanks Eric Lesch. 2012-10-23 22:58:44 +02:00
kangax
df22b0f9b1 Default "fontWeight" is now corresponding to "normal" — 400, instead of 100 (which makes some fonts appear light). 2012-10-23 21:12:48 +02:00
Juriy Zaytsev
8cb91396c6 Merge pull request #293 from sjpemberton09/Experiment
Fixes for shift selecting/unselecting groups.
2012-10-21 08:25:27 -07:00
Steve Pemberton
e8cdf8e2fe Fixes for shift selecting/unselecting groups
Shift selecting/deselecting no longer causes the group to have its
transform re-applied.

You can no longer drag a shift added object separately from the group.
This also fixes the issue of the object jumping on addition to a group.

Objects in a group are now rendered to the upper-canvas in the order
they are in on the lower canvas.
2012-10-21 15:31:11 +01:00
kangax
d3ee764bc9 Build distribution. Version 0.9.16. 2012-10-20 20:13:21 +02:00
kangax
f576ec797b Documentation additions. 2012-10-20 20:12:28 +02:00
kangax
1744469063 Fix opacity of rect, circle, ellipse objects. Fix #289. 2012-10-20 20:12:19 +02:00
kangax
39efd11c4c Add overlayImageLeft, overlayImageTop properties to control position of canvas overlayImage. Add "before:render" event. 2012-10-20 20:11:55 +02:00
kangax
70784f55d9 Add support for off method to remove all handlers for event when not given any handlers. 2012-10-20 20:11:16 +02:00
kangax
8494350baf Remove onFpsUpdate as it's such a rarely used functionality (and could be accomplished on application level). 2012-10-20 20:10:32 +02:00
kangax
79f1b47063 Add uglifyjs as dev dependency. Fix compressing script. 2012-10-17 11:19:41 +02:00
kangax
ed0c958b13 Make uglifyjs default compressor. 2012-10-17 11:03:17 +02:00
kangax
0243009218 Doc fixes. 2012-10-17 11:02:53 +02:00
kangax
1cc4a5c799 Merge origin/master. 2012-10-17 01:27:47 +02:00
kangax
15b1dcc555 Remove redundant bordervisibility/cornervisibility properties from image objects. Version 0.9.15. 2012-10-17 01:25:01 +02:00
kangax
1f10671202 Fix comment. Fix #286. 2012-10-17 01:18:54 +02:00
kangax
514f064710 Normalize option setting in all classes. Fix #287. 2012-10-17 01:17:51 +02:00
Juriy Zaytsev
0646a5ab17 Merge pull request #284 from sjpemberton09/Experiment
Fix for negative width on objects preventing selection.
2012-10-14 10:34:53 -07:00
Steve Pemberton
f11f83b0db Fix for negative width on objects 2012-10-14 18:30:08 +01:00
Steve Pemberton
da28b363e4 Revert "Fix for negative width on objects preventing selection"
This reverts commit 55853039cd.
2012-10-14 18:23:39 +01:00
kangax
4f1f7cc118 Remove __fontDefinitions from global props in .jshintrc. 2012-10-14 18:02:11 +02:00
Steve Pemberton
55853039cd Fix for negative width on objects preventing selection 2012-10-14 13:27:41 +01:00
kangax
f9eeeb2916 Fix unit tests. 2012-10-14 02:53:25 +02:00
kangax
84a956c4b6 Lint everything with JSHint. Version 0.9.14. 2012-10-14 02:53:12 +02:00
kangax
33c8a34399 Fix gradient setting in loadFromJSON. Fix #246 again. 2012-10-13 19:56:54 +02:00
kangax
07698a22ae Add support for finding target per-pixel (ignoring transparent ones). This allows to drag shapes by non-transparent pixels only. Thanks Steve Pemberton for initial work. Version 0.9.13. 2012-10-11 00:40:03 +02:00
kangax
eacc459cf0 Add support for switching between filled and stroked corners. 2012-10-11 00:36:49 +02:00
kangax
307c9503d4 Fix fabric.Group#toObject not serializing children image objects. Fix #260. 2012-10-08 21:01:29 +02:00
kangax
999f7f5231 Account for bounding box in scaleToWidth/scaleToHeight. Fix #271. Version 0.9.12. 2012-10-08 19:35:37 +02:00
kangax
4ac8b68d78 Show rotating point handle only if hasControls=true. Remove "hideCorners" since there's already "hasControls" property (consistent with "hasBorders" one). Version 0.9.11. 2012-10-07 16:12:37 +02:00
kangax
2b3994f4c7 Fix corner detection. Thanks Josh Pearce. Fix #275. Fix #269. 2012-10-03 23:45:49 +02:00
kangax
b555245780 Add support for animating multiple properties. 2012-10-03 23:45:49 +02:00
Juriy Zaytsev
9b00be1708 Merge pull request #273 from Kienz/toDataURLQuality
Support check for toDataURL with quality parameter.
2012-09-30 10:45:26 -07:00
Kienz
0595577c6e support check for toDataURL with quality parameter 2012-09-29 09:51:47 +02:00
kangax
0ead6db114 Path groups now have empty fill by default. 2012-09-10 19:54:47 -04:00
kangax
20f9b9ed36 Build distribution. Version 0.9.8. 2012-09-10 19:47:12 -04:00
kangax
462041d2ce Fix group setter to not mess up children fill value. Fix #191. 2012-09-10 19:46:22 -04:00
kangax
f8ecc529f5 Fix fontFamily setting. 2012-09-10 19:45:25 -04:00
kangax
e8278236d6 Do not show middle controls when lockUniScaling is on. Closes #228. 2012-09-08 23:27:05 -04:00
kangax
44dc5f7fe7 Update text dimensions after changing text. Closes #257. Version 0.9.7. 2012-09-07 13:30:32 -04:00
kangax
7cf01772a4 Fix fabric.Text#set. 2012-09-07 13:15:42 -04:00
kangax
0171b665be Fix SVG rendering of lines and images in groups. 2012-09-06 16:41:31 -04:00
kangax
ada83ffff5 Change unstable image test once again 2012-09-06 12:06:40 -04:00
kangax
06b0746258 Fix transform matrix bug. Closes #33. 2012-09-06 12:00:36 -04:00
kangax
77c7bd134f Fix object padding. 2012-09-05 17:25:37 -04:00