Commit graph

62 commits

Author SHA1 Message Date
inssein
d08dabc2ab forgot setOnGroup additions 2015-05-31 22:45:33 -07:00
Andrea Bogazzi
02dca44656 Update group.class.js 2015-05-05 12:54:53 +02:00
Andrea Bogazzi
80c3012646 Update object_origin.mixin.js 2015-05-02 19:13:44 +02:00
Juriy Zaytsev
3586cb26f7 Merge pull request #2141 from asturur/fixThis.Canvas
Make .canvas property always present
2015-04-22 13:17:38 +02:00
Andrea Bogazzi
0465729c15 Update group.class.js 2015-04-22 05:49:23 +02:00
sapics
fe65503e11 fix only coding style 2015-04-21 09:53:19 +09:00
sapics
563ec42196 fix space and linebreak 2015-04-20 09:51:32 +09:00
Andrea Bogazzi
ef1036b58e Update group.class.js 2015-04-17 03:35:59 +02:00
Andrea Bogazzi
e15fcd4056 Update group.class.js 2015-04-04 14:17:22 +02:00
KJ Tsanaktsidis
f16bf53763 Don't clone objects while serialising selection groups
Clone can be async for some object types, so we can't use it during
the serialisation process. Instead, apply the group transforms directly
on the object being serialised, and then undo it after serialising.
2015-02-27 15:04:26 +11:00
KJ Tsanaktsidis
ea8bc67ce8 Don't destroy the selection group when doing toJSON
Instead, simulate what would happen to the children of the selection
group if the group were to be released. This is non-destructive on
the state of the canvas from the API user's perspective.
2015-02-26 13:57:58 +11:00
Juriy Zaytsev
95406e0b6b Merge pull request #1882 from asturur/Clean-lines-code
Make cleaner setCoords and geometry code
2015-02-03 00:51:28 +01:00
Andrea Bogazzi
a7022c1bef Clean of setCoords and other corner related methods 2015-02-03 00:16:59 +01:00
Andrea Bogazzi
4314d30370 Update group.class.js 2014-11-30 18:38:43 +01:00
Andrea Bogazzi
035cf52f79 Update group.class.js 2014-10-20 17:55:09 +02:00
Andrea Bogazzi
64531a3905 Update group.class.js 2014-10-20 16:52:07 +02:00
Andrea Bogazzi
2fefe13613 Update group.class.js
added managing of  originX/Y to group.
2014-10-20 15:38:05 +02:00
Andrea Bogazzi
795bb0e70f Update group.class.js 2014-10-01 09:52:37 +02:00
kangax
32e8463479 Add requirement for space before function’s { 2014-09-22 20:40:39 +02:00
Andrea Bogazzi
09ba1e115b ToSvg , added some \n 2014-08-05 12:45:07 +02:00
kangax
818ab118b3 JSCS changes; Prepare for JSCS ignore support; down to 51 failures 2014-08-03 16:47:27 +02:00
Stefan Kienzle
b34387d10e JSDoc + JSCS tweaks - Part 1 2014-07-17 16:18:57 +02:00
Tom French
6b8ce5c1ce JSHint 2014-07-05 18:06:21 +01:00
Tom French
300de3be0d Correct rendering of active group 2014-07-04 20:07:04 +01:00
Tom French
6fbd5df49c Fix FromObject 2014-07-04 11:29:48 +01:00
Tom French
5f8e0ee6ee Fixes for group coordinates (coordinates now also generated before group is added to canvas) 2014-06-13 11:23:13 +01:00
Tom French
b13e5763b6 Calculate group coordinates when initializing 2014-06-12 12:37:20 +01:00
Tom French
cd4d8b2c17 Fix group.hasMoved 2014-06-12 10:13:08 +01:00
Tom French
8c826a3204 Fixes for controlsAboveOverlay 2014-06-06 17:36:17 +01:00
Tom French
0d8db88e71 Merge remote-tracking branch 'upstream/master'
Conflicts:
	.gitignore
	dist/fabric.js
	dist/fabric.require.js
	src/brushes/circle_brush.class.js
	src/canvas.class.js
	src/mixins/canvas_events.mixin.js
	src/mixins/object_geometry.mixin.js
	src/mixins/object_interactivity.mixin.js
	src/shapes/group.class.js
	src/shapes/image.class.js
	src/shapes/object.class.js
	src/shapes/path_group.class.js
	src/shapes/text.class.js
2014-05-31 17:29:55 +01:00
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
kangax
0460e4e248 Fix recent group addition 2014-02-11 12:47:09 -05:00
kangax
93ac070918 Make _calcBounds more flexible 2014-02-10 23:24:29 -05:00
Tom French
3cc191bdfb Fixed control and group selection rendering 2013-12-06 13:40:17 +00:00
Tom French
ce4809d1e8 Merge branch 'master' of https://github.com/kangax/fabric.js
Conflicts:
	dist/all.js
	dist/all.require.js
	src/brushes/circle_brush.class.js
	src/brushes/spray_brush.class.js
	src/canvas.class.js
	src/mixins/canvas_events.mixin.js
	src/mixins/object_interactivity.mixin.js
	src/shapes/group.class.js
	src/shapes/image.class.js
	src/shapes/object.class.js
	src/util/misc.js
2013-12-05 19:45:39 +00:00
Tom French
08d575422c Fixes to zoom for groups and brushes. 2013-11-19 16:21:29 +00:00
kangax
74ac19c7f7 More IText refactoring and minor group tweak 2013-11-17 10:16:18 +01:00
kangax
26bdd0de69 Remove setCoords in fabric.Group#render. Build distribution. Version 1.3.11. Closes #979 2013-11-14 18:47:10 +01:00
kangax
f421979e80 More fabric.Group refactoring 2013-11-10 17:43:23 +01:00
kangax
1ecbf379ff More group refactoring 2013-11-10 17:31:59 +01:00
kangax
ffa794ed54 Refactor fabric.Group 2013-11-10 17:24:32 +01:00
kangax
ffe6091dd7 Move getObjects to fabric.Collection. Add support for getObjects(type). Version 1.3.10. 2013-11-09 14:50:30 +01:00
Tom French
88b589b3d6 Implement zoom for brushes, various zoom fixes, remove canvasBorder. 2013-11-08 15:54:55 +00:00
Tom French
328f14f388 Add zoom 2013-10-31 17:36:18 +00:00
kangax
10a3319ed1 Refactor _restoreObjectState 2013-10-30 15:09:02 +01:00
kangax
476da71e92 Doc changes 2013-10-25 09:05:39 +02:00
Kienz
be86429b32 Add reviver function to fabric.Canvas.toSVG.
Reviver function accepts one parameter (svg string representation of object instance) and should return svg string.
Add qunit test.
2013-09-29 09:22:44 +02:00
Kienz
fa2f18a77a Add more docs.
Examples, tutorial and demo links.
2013-09-28 12:31:32 +02:00
Juriy Zaytsev
aeaa5fcb00 Merge pull request #857 from briefbanane/master
Allow toggling of flipX/Y to flip the whole group
2013-09-26 06:04:11 -07:00
kangax
41ab3a0064 Doc additions 2013-09-26 14:12:02 +02:00