Commit graph

608 commits

Author SHA1 Message Date
Andrea Bogazzi
f88711a526 Docs links, remove last forward slash (#2917) 2016-04-28 23:33:40 +02:00
Andrea Bogazzi
c84bce2703 Fire canvas mouse:out when the mouse leave the canvas (#2907)
* Add support for mouseOut out of the canvas.
Clear the _hoveredTarget and fire mouseout on the previous hovered if any.
Make selection of small object easier.
2016-04-26 02:05:58 +02:00
Andrea Bogazzi
a5192e487f Fix svg parsing/rendering regressions (#2887)
* fix regression in svg parsing
* Added tests to  catch regression

* Update parser.js

* Update parser.js
2016-04-13 01:44:15 +02:00
Andrea Bogazzi
c6815892f3 Check presence of originalElement before taking src (#2878)
* check presence of originalElement before taking src

* add test for image with null element

* Update image.js

* Update image.js
2016-04-11 15:30:35 +02:00
Andrea Bogazzi
036bc9ab84 Various IText Fixes
Added keyup events, moved "CTRL + Key" combination on keyup so i cancel the event if the textarea consumes the event with other ( real copy and cut )
Added Ctrl+C for copy.
Added compositionUpdate event.
SetShadow was expecting some parameters, we add them at style declaration
Moving the textArea position when editing
managing japanese IME ( and maybe others )
Fixes property of object leaking on style objects
Fixes edge browser different behaviour with different selectionDirection
2016-04-10 14:48:04 +02:00
Andrea Bogazzi
d1973113a2 fix bug introduced in 2f19e25ef2 2016-03-27 23:51:42 +02:00
Andrea Bogazzi
719746e58d Revert "Textboxspaces" 2016-03-27 23:25:39 +02:00
Andrea Bogazzi
f1cd8bf5b6 Merge pull request #2853 from asturur/textboxspaces
Textboxspaces
2016-03-27 23:04:00 +02:00
Andrea Bogazzi
e3e8984ec9 fixes trailing spaces 2016-03-26 13:00:37 +01:00
Andrea Bogazzi
55da566d37 Update textbox.class.js 2016-03-26 12:44:11 +01:00
Andrea Bogazzi
f5f51938f7 add check for this.styles[i] 2016-03-26 12:42:03 +01:00
Andrea Bogazzi
c1e3ad5b85 Merge pull request #2852 from asturur/textboxspaces
adding lineStarted logic to _wrapLine function
2016-03-26 11:52:34 +01:00
Andrea Bogazzi
2a1842af02 adding lineStarted logic to _wrapLine function
The error was considering line === '' as a line that just started. This messed up consecutive spaces.
Consecutive spaces create words with 0 lenght and they leave the line with no infix and no characters.
2016-03-26 11:41:49 +01:00
Andrea Bogazzi
c815f22d3e Merge pull request #2842 from asturur/bordersAddWithU
Do not draw control borders in normal group with active objects
2016-03-23 17:42:21 +01:00
Andrea Bogazzi
8410796872 drw controls and borders just if you are in active group ora active 2016-03-17 09:07:47 +01:00
Andrea Bogazzi
16f358cbfa Merge pull request #2827 from asturur/newtextshadow
Fix SVG for new text shadows
2016-03-11 18:57:06 +01:00
Andrea Bogazzi
fb69e9bc89 Do not call 2 times this.getSvgFilter() 2016-03-11 10:52:20 +01:00
Andrea Bogazzi
ab4721427e Merge pull request #2817 from asteriskman7/fix_offset_1x1_rect
Change location of rect in 1x1 case
2016-03-11 08:33:00 +01:00
Andrea Bogazzi
bb9aef9726 do not output useless empty style declaration 2016-03-11 08:28:20 +01:00
Andrea Bogazzi
a3fd9061ef Add shadow to outer group of text 2016-03-11 06:14:40 +01:00
Juriy Zaytsev
1324c73c2e Merge pull request #2806 from asturur/fix-retina-again
Fix retina scaling shadows and data url
2016-03-01 17:45:51 -05:00
asteriskman
47776c55fd Change location of rect in 1x1 case
As can be seen in this jsfiddle, https://jsfiddle.net/asteriskman/kk6v0tu4/ , the 1x1 rectangle was being placed incorrectly. It must be offset by -0.5 in the x and y direction to line up with other rects.
2016-02-26 22:51:56 -05:00
Andrea Bogazzi
91bf1fbacf Update object.class.js 2016-02-25 08:10:38 +01:00
Andrea Bogazzi
9c41f0923d Update itext.class.js 2016-02-25 02:59:04 +01:00
Andrea Bogazzi
2f19e25ef2 Update itext.class.js 2016-02-25 02:48:20 +01:00
Andrea Bogazzi
f15b7f5d3c Update text.class.js 2016-02-25 02:46:05 +01:00
Andrea Bogazzi
bd345a39d5 Update object.class.js 2016-02-25 00:50:10 +01:00
Andrea Bogazzi
db068d59c9 enlarge shadow if retina scaling is active 2016-02-24 08:45:15 +01:00
Juriy Zaytsev
09dd12bff3 Merge pull request #2719 from asturur/textflip
Textflip
2015-12-30 10:14:24 -05:00
Andrea Bogazzi
b8b8cadfff correct docs 2015-12-30 15:36:14 +01:00
Juriy Zaytsev
7235f36856 Merge pull request #2627 from asturur/clean-polygon
Clean polygon class
2015-12-27 11:35:34 -05:00
Juriy Zaytsev
5d0524a6bd Build dist, fix lint errors 2015-12-24 10:57:55 -05:00
Juriy Zaytsev
79278468a8 Merge pull request #2316 from mbrzuzy/master
IE9 bugfix for loading SVGs from URL that contain <text> nodes
2015-12-24 10:42:00 -05:00
Andrea Bogazzi
1f41cb3f13 Update text.class.js 2015-12-09 23:05:55 +01:00
Andrea Bogazzi
db0b026eef Update itext.class.js 2015-12-09 09:42:23 +01:00
Andrea Bogazzi
185d8e2d31 Update text.class.js 2015-12-09 09:41:37 +01:00
Andrea Bogazzi
61daf81470 Update text.class.js 2015-12-08 19:53:44 +01:00
Andrea Bogazzi
41a3aa8a4c Update text.class.js 2015-12-08 11:52:07 +01:00
Andrea Bogazzi
37fb2c1e2d Update group.class.js 2015-11-29 09:31:18 +01:00
Andrea Bogazzi
1c9932f97f Update polygon.class.js 2015-11-16 11:25:27 +01:00
Andrea Bogazzi
345c403a8e Update polygon.class.js 2015-11-16 01:26:54 +01:00
Andrea Bogazzi
d96c94dc4f change default strokewidth to 0 2015-11-13 00:27:39 +01:00
Andrea Bogazzi
45150e39c1 Update group.class.js 2015-10-24 15:41:37 +02:00
Andrea Bogazzi
701a62053d make group transform support general transforms 2015-10-24 15:38:46 +02:00
asturur
ff79ab1aca first changes to group transform handling 2015-10-14 08:48:03 +02:00
KULDIP PIPALIYA
66e4efb847 added textAlign possible value in doc block
https://github.com/kangax/fabricjs.com/pull/96
2015-09-18 00:31:39 +05:30
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Andrea Bogazzi
7d4aa20435 Update itext.class.js 2015-08-30 16:36:13 +02:00
Juriy Zaytsev
0ff9198010 Merge pull request #2434 from asturur/bugfix
Bugfix
2015-08-21 14:03:38 -04:00
Andrea Bogazzi
66e87bb728 Update itext.class.js 2015-08-21 16:17:55 +02:00