Juriy Zaytsev
3336c625a7
Merge pull request #2720 from asturur/rotatedgroup
...
shift click with generally transformed active groups
2016-01-04 14:52:27 -08:00
Andrea Bogazzi
143e3ee66a
update _normalizePointer
2015-12-30 16:24:02 +01:00
Juriy Zaytsev
8ffa6a199d
Merge pull request #2708 from asturur/dispos
...
Add active instance cleaning to dispose.
2015-12-27 11:34:22 -05:00
Andrea Bogazzi
957b5b3a76
Update canvas.class.js
2015-12-26 13:08:55 +01:00
Juriy Zaytsev
7fc9d307af
Fix typo
2015-12-24 10:45:49 -05:00
Andrea Bogazzi
cc8ed6bac8
Update canvas.class.js
2015-11-17 21:29:39 +01:00
Andrea Bogazzi
e1b165b983
switch to save and restore methods
2015-10-24 16:04:53 +02:00
Andrea Bogazzi
07234dfdf6
Update canvas.class.js
2015-10-13 00:29:26 +02:00
Andrea Bogazzi
26cf009c98
Update canvas.class.js
2015-09-27 17:44:25 +02:00
Juriy Zaytsev
6d99aafd60
Merge pull request #2482 from asturur/skew2
...
Add global support for skewing
2015-09-17 12:46:11 -04:00
Andrea Bogazzi
cda0611326
Add support for skew objects.
2015-09-17 14:22:12 +02:00
Andrea Bogazzi
48529ff2ae
check for obj.selectable
2015-09-02 21:52:22 +02:00
Andrea Bogazzi
a1b853e1d7
Update canvas.class.js
2015-07-15 15:08:54 +02:00
Juriy Zaytsev
fb22168f48
Add support for hidpi rendering on retina screens
...
Closes #316
2015-07-10 11:13:51 -04:00
sapics
f5b4605032
remove unused variables
2015-06-12 13:40:39 +09:00
Andrea Bogazzi
a4cb8879fc
Update object_interactivity.mixin.js
2015-05-18 21:44:12 +02:00
kangax
bf0bdd4c59
Add isDrawingMode to docs. Closes #2072
2015-05-14 08:30:11 -04:00
sapics
d459a87ae2
Fix stroke width calculation
2015-05-08 16:29:14 +09:00
Incuuu
21df5e8fe7
Change the firing order of mouse:out/mouse:over events
2015-04-24 18:44:02 +04:00
Incuuu
935fd4f39d
Add MouseEvent in mouse:over/mouse:out events
2015-04-23 14:32:17 +04:00
sapics
563ec42196
fix space and linebreak
2015-04-20 09:51:32 +09:00
Andrea Bogazzi
568e2ed2c0
attemp to fix jscs crash
2015-03-31 01:46:38 +02:00
gordyr
7b6cca5136
Fixed whitespace for Travis build
2015-03-11 23:55:18 +00:00
gordyr
657945f9fd
Fixes Mouse hit detection on active groups
...
Skips the checking of grouped objects within _searchPossibleTargets since we already check the group as a whole target itself. Failing to do so would lead to grouped objects being picked up as targets outside of the group since their coordinates change temporarily while grouped.
2015-03-11 23:29:45 +00:00
Andrea Bogazzi
cac97b0a9b
Update text.js
2014-10-22 00:46:53 +02:00
Juriy Zaytsev
98a1eb496d
Merge pull request #1644 from ChrisBuergi/scaling-strokewidth-fix
...
Scaling strokewidth fix
2014-10-21 12:26:17 +02:00
Andrea Bogazzi
77616eddba
Update ellipse.js
2014-09-30 23:10:20 +02:00
Sergi Meseguer
116eb88c43
fixing whitespaces
2014-09-23 12:15:09 +02:00
Sergi Meseguer
4d283d87f0
getPointer bounds for IE8, fixes #1550 #1349 #1693
...
includes change from @asturur to improve readability
2014-09-23 12:08:10 +02:00
Andrea Bogazzi
bdde7151a2
Update canvas.class.js
...
fix for ie8 missing width and height in bounds
2014-09-21 23:41:07 +02:00
Chris Buergi
0739f4cad8
Only use strokeWidth in object scaling when stroke is set.
...
Also only use half of the strokeWidth, this matters especially when the strokeWidth is large compared to the object size.
2014-09-08 10:43:55 +02:00
Andrea Bogazzi
66621bb37f
Update canvas.class.js
2014-08-12 23:02:55 +02:00
Andrea Bogazzi
2242b2a994
Update canvas.class.js
...
Added lockScaleFlip variable to scale object method
2014-08-10 00:37:01 +02:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
Bnaya Peretz
9f70f78411
Option to set css & backstore dimensions separatly
...
Introduced options param to the dimensions setters, options.backstoreOnly & options.cssOnly
When backstoreOnly set to true, only the value of the canvas element width & height will be changed.
When cssOnly set to true, only the css width & height of the involved DOM elements will be changed,
and you should include the unit of measure (px/%/em) with the passed value (eg '100px' '100%') and not just 100
2014-07-31 18:19:19 +03:00
Stefan Kienzle
b34387d10e
JSDoc + JSCS tweaks - Part 1
2014-07-17 16:18:57 +02:00
Stefan Kienzle
9ad2279e8a
Revert JSCS tweaks for single-line return statements.
2014-07-08 13:32:58 +02:00
Stefan Kienzle
de99a508c2
Make setCursor public.
...
JSCS tweaks.
2014-07-07 16:18:31 +02:00
Tom French
300de3be0d
Correct rendering of active group
2014-07-04 20:07:04 +01:00
Tom French
42ce906e0d
Fix group coordinates
2014-07-04 11:29:30 +01:00
Tom French
a4129c31e8
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
dist/fabric.min.js
dist/fabric.min.js.gz
dist/fabric.require.js
src/canvas.class.js
2014-07-03 16:02:43 +01:00
kangax
492253e5ca
JSCS tweaks. Down to 114 failures.
2014-06-24 14:12:17 +02:00
Tom French
8c826a3204
Fixes for controlsAboveOverlay
2014-06-06 17:36:17 +01:00
Tom French
ef01083cab
Stray console.log removed.
2014-06-03 08:36:00 +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
9113b27e77
Revert _searchPossibleTargets optimization. Closes #1188
2014-04-24 10:33:33 -04:00
XhmikosR
67e9c8829c
Remove extra commas.
2014-02-23 20:25:23 +02:00
kangax
6798111f03
Build distribution
2014-02-18 15:14:06 -05:00
Michael Elsdörfer
50107b06d7
Handle missing canvas bounds information correctly.
...
Fixes test failure.
2014-02-18 00:17:31 +01:00
Michael Elsdörfer
dc6e53288c
Also consider CSS transforms when handling mouse.
2014-02-18 00:17:31 +01:00