GordoRank
02d55954e9
Move check into separate function
2014-01-27 12:29:30 +00:00
kangax
f928e68386
Few small tweaks
2014-01-26 22:19:12 -05:00
mizzack
bed0cab833
Adding nullcheck to touches attr on event.
...
This was throwing errors in IE11 on desktop. Not that it needs gesture support...
2014-01-26 15:36:31 -05:00
GordoRank
88157a8107
Optimize searchPossibleTargets
2014-01-24 09:44:08 +00:00
kangax
e977372236
Remove node 0.6 from travis until jsdom fixes it
2014-01-23 11:25:04 -05:00
kangax
3dd2f1572d
Move for in body into a separate method (to allow inlining)
2014-01-23 10:49:23 -05:00
kangax
dbbfb992cb
Add all properties onto prototype (not to invalidate hidden classes)
2014-01-23 10:49:23 -05:00
GordoRank
531faae418
revert master
2014-01-23 10:15:30 +00:00
GordoRank
4183bddd26
revert
2014-01-23 10:14:58 +00:00
GordoRank
235f7add81
update cache in setElement()
2014-01-23 10:08:49 +00:00
GordoRank
c8da9fbfc3
update cache automatically in _set()
2014-01-23 10:07:33 +00:00
Juriy Zaytsev
b600c39119
Merge pull request #1112 from GordoRank/Add-textselected-event
...
Add "text:selection:changed" event
2014-01-22 21:48:36 -08:00
GordoRank
b75fa8c32d
switch to 'text:selection:changed'
2014-01-23 01:32:08 +00:00
GordoRank
f6108963b2
switch to 'text:selection:changed'
2014-01-23 01:31:20 +00:00
Juriy Zaytsev
9f0f5e6bd2
Merge pull request #1111 from GordoRank/Only-add-hidden-textarea-when-in-editing-mode
...
Prevent multiple hidden Textareas
2014-01-22 16:44:36 -08:00
Juriy Zaytsev
c9a27eb6a0
Merge pull request #1110 from GordoRank/Fix-multiple-renderAll-when-exiting-editing-mode
...
Fix multiple renderAll when exiting editing mode
2014-01-22 16:36:25 -08:00
GordoRank
4631a8929a
Update itext.class.js
2014-01-20 20:59:04 +00:00
GordoRank
ab67a7d1d6
Update itext.class.js
2014-01-20 15:28:50 +00:00
GordoRank
394732f3a3
Update renderCursor/renderSelection
...
Update renderCursor()/renderSelection() to draw to separate canvas
2014-01-20 14:54:41 +00:00
GordoRank
e3dd37ff22
remove IText _render()
...
The ```the _render()``` method for IText objects is no longer needed when since rendering cursor/selection is now handled elsewhere
2014-01-20 14:51:21 +00:00
GordoRank
40b04c7b11
Let _getWidthOfChar() return cached values
2014-01-20 11:19:01 +00:00
GordoRank
e000ed0ef0
Remove clashing 'selected' event firing
2014-01-20 09:43:36 +00:00
GordoRank
cec2a17a47
Remove clashing 'selected' event firing
2014-01-20 09:43:00 +00:00
GordoRank
8cf567522d
Update itext.class.js
2014-01-20 08:50:02 +00:00
GordoRank
72e1b91ee4
Reduce calls to fillText/fillStroke in IText
2014-01-20 08:42:24 +00:00
GordoRank
764b55ed33
Fire text:selected on selectAll
2014-01-20 08:22:02 +00:00
GordoRank
3e1433acb1
Add text:selected event
2014-01-20 08:21:00 +00:00
GordoRank
9a2d697cf2
Prevent multiple hidden Textareas
...
Currently a hidden ```TEXTAREA``` is created for every IText instance and remain in the DOM forever.
This patch creates the required textarea on demand in ```enterEditing``` and destroys it in ```exitEditing```
This prevents multiple Textareas from hanging around in the DOM which can cause slowdowns in complex scenes with lots of IText instances.
2014-01-20 08:14:31 +00:00
GordoRank
b814568294
Prevent multiple RenderAll calls on exit edit
...
This commit modifies the ```mouseUp ```handler to fix ```enterEditing``` behaviour, while maintaining the ability to fire ```enterEditing()``` programmatically
2014-01-20 07:46:59 +00:00
GordoRank
564266e3e2
Prevent multiple RenderAll calls on exit edit
...
This fix prevents ```renderAll()``` being called for each IText instance when ```exitingMode``` is exited. Only one ```renderAll()``` is necessary
2014-01-20 07:42:33 +00:00
GordoRank
d088bb1fb7
Fix IText selection with varying font widths
2014-01-20 07:28:33 +00:00
kangax
aa98c317b7
Fix keyboard appearance on Android. Closes #1070
2014-01-18 16:08:41 -05:00
kangax
f1aef7ed1a
Version 1.4.3
2014-01-18 12:01:19 -05:00
kangax
bc8acac692
Only call _renderStroke in line and circle when this.stroke exists
2014-01-17 11:57:54 -05:00
kangax
20e0712688
Avoid set in fabric.Line#_setWidthHeight
2014-01-17 11:57:31 -05:00
kangax
727a8d04b1
Move _hasITextHandlers to canvas instance
2014-01-17 11:51:36 -05:00
kangax
13fcf15b8b
Make sure compiler can inline
2014-01-17 11:51:16 -05:00
kangax
16447f9b7a
Optimize _renderObjects to take fast path if no activeGroup given
2014-01-17 11:48:17 -05:00
kangax
4761c2527c
Build distribution
2014-01-14 12:57:13 -05:00
Juriy Zaytsev
7094ec47e2
Merge pull request #1094 from anvaka/fixNodeCanvas
...
createCanvasForNode passes options to FabricCanvas
2014-01-14 09:51:55 -08:00
Juriy Zaytsev
d4ea2c6f1e
Merge pull request #1097 from GordoRank/master
...
Rewrite renderSelection to only draw once per line
2014-01-14 09:46:16 -08:00
GordoRank
0abc547d6b
Fixed formatting and cache start.lineIndex
2014-01-14 17:37:40 +00:00
kangax
166dc60716
Fix JSHint warnings, build distribution
2014-01-14 12:34:32 -05:00
GordoRank
9f2c678a66
Formatting fixed and end.lineIndex cached
2014-01-14 17:23:40 +00:00
GordoRank
350261437a
Rewrite renderSelection to only draw once per line
...
Previously RenderSelection performed a fillRect() command for every character. This resulted in poor performance on large bodies of text. This rewrite calculates the selection box for each line of text and draws a single rectangle for each line, dramatically improving performance.
2014-01-14 17:09:19 +00:00
GordoRank
90a97e6272
Fix click cursor placement on center/right text
...
This clamps the click cursor placement so that clicking to the left of a short first line of centered/right aligned text positions the cursor to the left of the first character in the line....
Previously in that instance it would move to the left boundary instead
2014-01-14 15:48:59 +00:00
GordoRank
77f304bed0
Fixes Center/Right aligned cursor placement
...
Fixes Center/Right aligned cursor placement by mouse click when the text box is scaled
2014-01-14 13:58:06 +00:00
GordoRank
272859b8f1
Formatting fixes
2014-01-14 11:03:27 +00:00
GordoRank
1e9c58ea01
formatting fixes
2014-01-14 11:00:48 +00:00
GordoRank
a7e0e681d5
Formatting fixes
2014-01-14 10:56:43 +00:00
anvaka
6486606670
createCanvasForNode passes options to FabricCanvas
...
Some options like renderOnAddRemove plays crucial role in canvas
performance. This change allows clients to use custom options for
node.js
2014-01-14 01:12:29 -08:00
GordoRank
a2cf96a020
Dblclick at end of word selects previous word
...
Fixes selectWord so that double clicking at the end of a word (just after the last character in the left half of the space) selects the previous word. Again this is MS Word behaviour.
2014-01-14 00:25:42 +00:00
GordoRank
1499baa7c3
Move enterEditing back into MouseUp
...
Oops... thats better! :)
This way we get all the responsiveness benefits of setting the cursor position on mousedown but can still actually move the objects!
2014-01-14 00:00:25 +00:00
GordoRank
ec144b773d
Set cursor restart delay to 0
...
Setting cursor restart delay to 0 improves responsiveness when beginning drag selection, works inline with my previous two commits for selectLine/selectWord
2014-01-13 23:32:22 +00:00
GordoRank
8cb74e00e2
Restart cursor on selectWord/selectLine
...
Restarting cursor rendering using initDelayedCursor(true) in selectWord and selectLine improves user perceived responsiveness and provides an accurate reproduction of MS Word behaviour
2014-01-13 23:19:18 +00:00
GordoRank
2c5c83f9da
Moved enterEditing into MouseDown
...
MS word appears to move the caret on MouseDown, not on MouseUp as I thought.
2014-01-13 23:09:12 +00:00
GordoRank
2539c68cc8
Do not rely on options object in enterEditing #2
2014-01-13 22:43:58 +00:00
GordoRank
ead81813bd
Do not rely on options object for enterEditing #1
2014-01-13 22:42:29 +00:00
GordoRank
6acb697b7a
Fix more formatting
2014-01-13 22:27:25 +00:00
GordoRank
b8c83ed242
Fix formatting
2014-01-13 22:22:40 +00:00
GordoRank
cc52bf7039
rename __lastEditing to __lastIsEditing
2014-01-13 22:19:44 +00:00
GordoRank
3510004d97
Set cursor to mouse position on editing enter
2014-01-13 12:13:19 +00:00
GordoRank
0957c9ca9f
Set cursor position to mouse click on enter
2014-01-13 12:12:12 +00:00
GordoRank
55bc6a990b
Make flashing cursor behave like MSWord
2014-01-13 12:04:46 +00:00
GordoRank
3582fd3ba9
Make flashing cursor behave like MSWord
2014-01-13 11:58:26 +00:00
GordoRank
f56be28052
Make flashing cursor behave like MSWord
2014-01-13 11:56:56 +00:00
GordoRank
f7e24da770
Click after line should set cursor to this line
...
Clicking past the end of line selects the last character of that line
2014-01-13 10:19:39 +00:00
GordoRank
b6fb6491bc
Dbl click into editing mode sets cursor position
...
Double click directly into editing mode sets cursor position rather than selects whole word
2014-01-13 09:29:56 +00:00
Juriy Zaytsev
2b74c2abc5
Merge pull request #1087 from Kienz/patch-1
...
Fix fabric.Canvas initialization for width/height attributes. Closes #1086
2014-01-12 06:38:07 -08:00
Juriy Zaytsev
bb7f52cc84
Merge pull request #1088 from Kienz/patch-2
...
Fix path regExp for compressed path commands
2014-01-12 06:37:46 -08:00
Kienz
da0866429a
Initialize fabric.IText canvas handlers only once. Closes #1076
...
Qunit additions
2014-01-12 15:32:50 +01:00
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
Kienz
50899a79ef
Fix fabric.Canvas initialization for width/height attributes. Closes #1086 .
2014-01-12 11:33:42 +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
Tom French
3cc191bdfb
Fixed control and group selection rendering
2013-12-06 13:40:17 +00:00
Tom French
b0e944c251
Merge branch 'master' of https://github.com/kangax/fabric.js
...
Conflicts:
dist/all.require.js
2013-12-05 19:46:47 +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
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
Tom French
08d575422c
Fixes to zoom for groups and brushes.
2013-11-19 16:21:29 +00: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
kangax
94e83a715e
Add support for line select in IText via triple click
2013-11-18 20:06:20 +01:00
kangax
85e33c042b
Add doc info about mouse/touch combinations
2013-11-18 17:41:50 +01:00
kangax
50c5edb425
Add support for shift+click selection
2013-11-18 17:41:50 +01:00
kangax
e88c277675
Refactor canvas handlers in IText
2013-11-18 17:41:50 +01:00
Darby
54180a7665
Clear selection upon exit editing
2013-11-17 18:29:18 -06:00
kangax
17a9ba7712
Fix mouseup handling outside of itext
2013-11-17 13:28:24 +01:00
kangax
5dd4b480be
Break down getSelectionStartFromPointer even more
2013-11-17 10:45:31 +01:00
kangax
decfe15aa3
Break down getSelectionStartFromPointer
2013-11-17 10:33:20 +01:00
kangax
74ac19c7f7
More IText refactoring and minor group tweak
2013-11-17 10:16:18 +01:00
kangax
1113e20599
Do not scale cursor in width
2013-11-16 18:57:34 +01:00
kangax
df7b1f6747
Slight IText refactoring
2013-11-16 18:48:57 +01:00
kangax
604e85dcfc
Add support for forward delete
2013-11-16 18:06:04 +01:00
kangax
22200db7b3
Refactor itext_behavior
2013-11-16 15:20:41 +01:00
kangax
de7b92bda5
Some refactoring; move arc into a separate file
2013-11-16 15:20:41 +01:00
kangax
6260f55df6
Implement mouse-based selection. Woooot.
2013-11-16 15:20:41 +01:00
Darby
4479af30d0
Update itext_behavior.mixin.js
...
Ctrl + key fix
2013-11-15 16:23:51 -06:00
Darby
450837474e
Update itext_behavior.mixin.js
...
Changed document to fabric.document for node compatibility.
2013-11-15 16:12:08 -06:00
kangax
e3b0f666fb
More precise path-group check. Closes #964
2013-11-14 19:22:45 +01:00
Juriy Zaytsev
963616ec0f
Merge pull request #983 from Kienz/patch-2
...
Fix bug in selection mode, Fix drawControls for activeGroup
2013-11-14 09:49:08 -08: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
Stefan Kienzle
17053585fb
Clear selection if unselectable object is clicked - Fixes issue #976
2013-11-14 17:46:59 +01:00
Stefan Kienzle
68fbe5fe50
Fix activeGroup controls
2013-11-14 14:35:18 +01:00
Stefan Kienzle
cdc7d8a96f
Fix bug in selection mode
...
If activeGroup exists and other object is clicked and moved the same time the selection box appears
Add missing comma for previous commit
2013-11-14 13:14:38 +01:00
Stefan Kienzle
603299150c
canvas_events refactoring
...
Fix wrong cursor for clicked unselectable objects
2013-11-14 10:27:27 +01:00
kangax
04ba89b573
More group refactoring
2013-11-13 21:08:56 +01:00
kangax
483426b275
Fix group z-index. Closes #967
2013-11-13 20:52:25 +01:00
kangax
8768aa7661
Refactor static_canvas.class.js
2013-11-13 16:43:24 +01:00
kangax
7c4025841a
Refactor static_canvas.class.js, canvas_events.mixin.js, canvas.class.js
2013-11-13 16:19:44 +01:00
kangax
b6f725fc22
Combine var declarations
2013-11-13 16:01:35 +01:00
kangax
776b72d624
More canvas.class.js refactoring
2013-11-13 14:33:01 +01:00
kangax
bbd3480d50
canvas.class.js refactoring
2013-11-13 14:26:49 +01:00
kangax
779c2ef527
Move isTransparent logic to utils
2013-11-13 14:10:28 +01:00
kangax
166b16d6c2
IText refactoring
2013-11-13 12:25:50 +01:00
Stefan Kienzle
4f613f0684
Fix fabric.Image SVG output - Closes issue #977
2013-11-13 11:20:46 +01:00
kangax
2d1de62e89
Fix cursor detection in rotated text!!!!!
2013-11-11 18:35:21 +01:00
kangax
6be8697adc
Remove iOS sniff. Tsk tsk tsk
2013-11-11 18:35:04 +01:00
kangax
5fdc1dc2d1
Move getLocalPointer to fabric.Object
2013-11-11 18:34:46 +01:00
kangax
31338df54d
canvas_events refactoring
2013-11-11 16:41:13 +01:00
kangax
4f46626467
Extract method in fabric.Canvas
2013-11-11 16:20:11 +01:00
kangax
014109ced3
Move canvas grouping logic to separate mixin/file
2013-11-11 16:07:51 +01:00
kangax
15889d3677
Fix active group's originX/originY
2013-11-11 00:02:10 +01:00
kangax
d0e60d7c5a
Fix up/down selection boundaries with shift
2013-11-11 00:01:57 +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
1183464dde
Refactor arcToSegments
2013-11-10 17:13:01 +01:00
kangax
fc3bb9fe69
Refactor getColorStop
2013-11-10 16:51:08 +01:00
kangax
db7b0b585f
Refactor _drawControls
2013-11-10 16:43:56 +01:00
kangax
a39474d5bc
Refactor __onMouseUp
2013-11-10 15:34:10 +01:00
kangax
987f165790
Remove duplication in log.js
2013-11-10 15:15:31 +01:00
kangax
4556c7bf45
Fix origins of free-drawing paths and shapes
2013-11-10 11:24:45 +01:00
kangax
cbecc7910c
Fix vertical cursor movement in center/right -aligned and styled text
2013-11-09 18:09:25 +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
Kienz
42935be697
Remove activeObject in fabric.Canvas#remove
...
Fire 'before:selection:cleared' and 'selection:cleared' if activeObject is removed from canvas
Add unit test
Fixes issue #962
2013-11-08 19:09:16 +01:00
Tom French
88b589b3d6
Implement zoom for brushes, various zoom fixes, remove canvasBorder.
2013-11-08 15:54:55 +00:00
kangax
2d2bd68325
Add doc on requestAnimFrame
2013-11-06 21:20:07 +01:00
Juriy Zaytsev
b09af384c4
Merge pull request #956 from articulate/master
...
Finer animation
2013-11-06 12:18:25 -08:00
kangax
dcf1e1e980
Add data-url crossOrigin workaround
2013-11-06 21:16:44 +01:00
kangax
5f643daf54
Normalize behavior of setActiveObject, setActiveGroup, discardActiveObject, discardActiveGroup. Closes #579
2013-11-06 20:58:23 +01:00
kangax
aea61aa64e
Update itext docs
2013-11-06 20:35:32 +01:00
kangax
c3fd102cdb
Fix fabric.Object#selectable. Closes #957
2013-11-06 18:41:02 +01:00
bbudd
24da312a54
fixed weird spacing stuff2
2013-11-05 17:03:47 -08:00
bbudd
61fdc7d93a
fixed weird spacing stuff
2013-11-05 17:03:01 -08:00
bbudd
afb6db8e1c
change animate to use sub-millisecond where possible
2013-11-05 16:58:39 -08:00
kangax
d0abb90f1c
Add fabric.Image#crossOrigin which allows crossOrigin image loading and canvas rendering without tainting. fabric.util.loadImage now accepts 4th argument (crossOrigin) and sets crossOrigin="" on image element by default. fabric.Image.fromURL can be passed crossOrigin via 3rd argument (options). Closes #263
2013-11-05 15:13:15 +01:00
kangax
baf646e7a0
Support mouse and touch events simultaneously. Closes #670
2013-11-05 12:27:15 +01:00
kangax
f91dd30dc7
Better line length in parser
2013-11-05 11:59:48 +01:00
kangax
6cb941c116
Extract elements parsing into a separate object (ElementsParser)
2013-11-04 17:12:05 +01:00
kangax
ce8fe3447d
Break parseStyleAttribute apart
2013-11-04 16:41:26 +01:00
kangax
2753108028
Initial implementation of fabric.IText#toSVG (~75% complete atm)
2013-11-04 15:20:40 +01:00
kangax
59af4b7934
Add ctrl/cmd + x support
2013-11-04 12:05:29 +01:00
kangax
1c07c9600e
Fix cursor appearance in itext
2013-11-04 11:59:10 +01:00
Juriy Zaytsev
fe54615584
Merge pull request #931 from lorenzopolidori/controls-visibility
...
Added object controls visibility. Closes #552 .
2013-11-03 15:28:19 -08:00
kangax
330784ac2c
[BACK_INCOMPAT] Change default objects' originX/originY to left/top
2013-11-04 00:15:49 +01:00