Kienz
61f65bc206
Fix path regExp for compressed path commands
...
Fix regExp for e^x numbers
Add unit test for e^x numbers
2014-01-12 13:50:03 +01:00
kangax
c5f97d69af
Remove console.log in itext
2014-01-04 15:02:51 -05:00
kangax
92b0d5e282
Optimize rendering of 1x1 rectangles
2014-01-04 15:02:51 -05:00
kangax
d7c2076b8a
Do not call shadowColor = ... when there's no shadow
2014-01-04 15:02:51 -05:00
kangax
e0aed05c3d
Build distribution
2013-12-31 09:29:14 -05:00
kangax
ea811cbb23
Fix fabric.Path#path being "cloned" by reference
2013-12-31 09:29:14 -05:00
Stefan Kienzle
6776e62d00
Fix overlayImage / overlayColor during selection mode. Closes #1068
2013-12-27 10:19:57 +01:00
kangax
7c541da8cc
Fix double callback in loadFromJSON if objects.length == 0. Closes #1056
2013-12-21 15:17:08 +01:00
mizzack
d13a4dd273
Correcting invalid control name
2013-12-19 11:02:23 -05:00
Marco Miltenburg
b97f850bbb
Added check to make sure xml is defined and exit if undefined.
2013-12-18 13:44:04 +01:00
kangax
d478482a19
Fix number parsing in paths. Closes #961
2013-12-18 11:29:44 +01:00
kangax
ec629c6b59
Update text events
2013-12-18 11:28:06 +01:00
kangax
032cc05bd1
Fix background offset in iText. Closes #1029
2013-12-14 14:55:47 +01:00
kangax
63eb873e7f
Fix style object deletion in iText. Closes #1035
2013-12-14 12:25:04 +01:00
kangax
dbd9193703
Debounce element parsing. Thanks @biovisualize. Closes #1052
2013-12-14 12:19:54 +01:00
kangax
4a8c457680
Fix typo in _initCanvasHandlers. Closes #1048
2013-12-14 12:04:26 +01:00
kangax
79b4474e77
Mention that itext supports ctrl/cmd+a
2013-12-14 12:04:26 +01:00
kangax
db041fded5
Add note about clipTo origin. Update changelog
2013-12-11 11:09:59 +01:00
kangax
8d8cd16f6c
Add "mouse:over" and "mouse:out" events
2013-12-09 15:35:08 +01:00
Nazar Mokrynskyi
38bed8143e
New events:
...
* object:over
* object:out
* mouseover
* mouseout
Based on demo example
2013-12-08 18:01:48 +02:00
kangax
37afbc2909
Fix transformMatrix not affecting text. Closes #1031
2013-12-07 13:59:38 +01:00
Kienz
fd3ace05bb
[BACK_INCOMPAT] Possibility to remove multiple fabric.Objects from collection (canvas, group) - this (canvas, group or object) is returned instead of delete object
...
Update unit tests - use strictEqual for some cases
Add multiple objects raised `object:added` for last added object first - now 1st added object raises 1st `object:added` event, 2nd object raises 2nd `object:added`…
2013-12-07 11:07:46 +01:00
kangax
596831b6c1
Fix itext editing exit when clicking on other objects. Closes #1019
2013-11-29 14:43:01 +01:00
kangax
56f0bfb9cc
Avoid setting crossOrigin on an image if unspecified. Closes #971
2013-11-27 20:00:33 +01:00
kangax
0f23f14a44
Add fabric.IText#caching
2013-11-27 19:48:35 +01:00
kangax
435f3933ac
Fix i-text line-through offset
2013-11-26 14:58:53 +01:00
kangax
ae11740f82
Fix i-text style copy-pasting (doesn't work with multiline yet)
2013-11-25 21:32:00 +01:00
kangax
854d428c38
Add more tests
2013-11-23 17:35:31 +01:00
kangax
82509dc8d8
More IText tests
2013-11-23 13:45:53 +01:00
kangax
673fa39eba
Start adding i-text unit tests; add additional util and color tests
2013-11-22 17:30:55 +01:00
kangax
ec8a920081
Reorganize parser.js
2013-11-21 18:00:29 +01:00
kangax
7fa80e82ba
Add @private to doc
2013-11-21 12:17:51 +01:00
kangax
9e8b6bc5f6
Exit i-text editing properly when clicking on another text
2013-11-21 12:17:39 +01:00
kangax
336528551b
Move object stacking and SVG export methods to separate files
2013-11-20 21:14:26 +01:00
Kienz
d4b2ea18b7
Fix center methods for object’s with different originX/originY
...
object.center() only re-renders canvas once instead of twice
Update unit tests
2013-11-20 20:41:13 +01:00
kangax
942b5cfd8d
Add "editing:entered" and "editing:exited" events
2013-11-20 20:25:18 +01:00
kangax
70549d177c
Fix styles when removing multiple lines
2013-11-20 20:18:43 +01:00
Stefan Kienzle
2e834aa81c
Fix 1px offset of background image - Closes issue #990
2013-11-20 17:21:58 +01:00
Juriy Zaytsev
5c0d0cadda
Merge pull request #1000 from msievers/issue973
...
Move getScrollLeftTop to dom_misc.js and call it inside getElementOffset
2013-11-20 04:48:59 -08:00
Michael Sievers
13feddfa16
Call fabric.util.getScrollLeftTop inside getElementOffset
2013-11-20 13:06:28 +01:00
kangax
81e9535ef0
Small code cleanup
2013-11-20 12:47:03 +01:00
Michael Sievers
7cb161438c
Move getScrollLeftTop from dom_events.js to dom_misc.js
2013-11-20 10:42:34 +01:00
kangax
34901c12e8
More itext.class.js refactoring
2013-11-19 18:25:19 +01:00
kangax
db7036cfb5
Update docs
2013-11-19 17:41:15 +01:00
kangax
30ab19252b
Refactor itext.class.js even more
2013-11-19 17:38:58 +01:00
kangax
3509c08dd3
Move IText sag exporting logic to its own file
2013-11-19 17:24:24 +01:00
kangax
fa800d3c45
Refactor itext.class.js
2013-11-19 17:16:20 +01:00
kangax
967d79fba3
Break up IText behavior into click and key
2013-11-19 12:56:23 +01:00
Stefan Kienzle
bbaffd7f8e
Call activeGroup.setCoords() in mouse-up event - Fixes issue #995
2013-11-19 11:49:27 +01:00
kangax
e9af66e37b
Fix doc
2013-11-18 20:18:39 +01:00