Andrea Bogazzi
c7cbb391a2
Stop text from firing mouse up and mouse down on non left clicks ( #3888 )
...
* fix right click mouse up
* block mouse up/down for text on non left click
* fixes also deactivteAllWithDispatch
2017-04-26 13:09:50 +02:00
Andrea Bogazzi
7f39959bf0
v1711 ( #3878 )
2017-04-24 10:00:34 +02:00
Andrea Bogazzi
bd2dda467f
added missing functions ( #3877 )
2017-04-24 09:49:46 +02:00
Andrea Bogazzi
0608f43675
v1.7.10 ( #3874 )
...
* v1.7.10
* fixed error
2017-04-24 02:35:48 +02:00
Andrea Bogazzi
51a24b4973
reduce angle calculation error for cosin of 90 and 270 degrees ( #3872 )
...
* reduce angle calculation error
* reduce angle calculation error
2017-04-24 02:14:10 +02:00
Andrea Bogazzi
8814225bb1
pass event to functions ( #3871 )
2017-04-24 00:00:57 +02:00
Asturur
e2facba9d3
reinserted deleted method to do not break api
2017-04-23 13:48:39 +02:00
Andrea Bogazzi
aff86b1b6b
fixed cache for first draw ( #3870 )
...
* fixed cache for first draw
* fixed tests
2017-04-23 13:46:29 +02:00
Asturur
28d90b4aa0
Merge branch '1.x' of http://github.com/kangax/fabric.js into 1.x
2017-04-23 13:45:35 +02:00
Asturur
439bf1d246
renamed char in _char
2017-04-23 11:33:54 +02:00
Andrea Bogazzi
1e4d485870
fixed leak from other cherry-pick
2017-04-22 22:54:22 +02:00
Andrea Bogazzi
bab50f4166
merge conflict
2017-04-22 22:52:17 +02:00
Andrea Bogazzi
2d251889d4
fix toSVG polygons and other bugs ( #3866 )
2017-04-22 22:49:59 +02:00
Andrea Bogazzi
0847697126
Issue 3832 Add toDatalessObject to Group class since it may contains pathGroups. ( #3863 )
...
* fix toDatalessObject
* added test
2017-04-22 22:49:49 +02:00
Andrea Bogazzi
31859a1c61
fix-3482 ( #3862 )
2017-04-22 22:49:07 +02:00
Roger Beaman
aef73726ea
fixing callSuper ( #3844 )
...
* fixing callSuper
* fixing lint
* fixed unexpected alias for this
2017-04-22 22:48:43 +02:00
Rob Hoffmann
bdc97a8132
Update _fireOverOutEvents to pass event object ( #3853 )
...
I encountered a scenario where we were listening for `mouseout` and calling `_isObjectMoved` expecting an event object to be passed from the `mouseout` listener, however the object was not passed from `_fireOverOutEvents`. Normally this would not be an issue as `_isObjectMoved()` -> `getPointer()` checks for `fabric.window.event` and uses that if `event` is undefined, but this produces an error in Firefox as the `window.event` property is not implemented (https://developer.mozilla.org/en-US/docs/Web/API/Window/event ).
To resolve this I am proposing that `_fireOverOutEvents` pass along the event object to the target so that it can be passed along to `isObjectMoved()` if necessary.
2017-04-22 22:48:26 +02:00
ncou
28729b3786
remove unused "originalState" var ( #3836 )
2017-04-22 22:48:11 +02:00
Andrea Bogazzi
1c4f6188f2
fix gradient toSVG for radial gradients ( #3807 )
...
* support svg crossorigin on images
* fix gradient export
* added tests
2017-03-26 10:49:51 +02:00
Andrea Bogazzi
6e2deabcb3
version 1.7.9 ( #3804 )
...
* fixes
* fix style typer egressions
* support svg crossorigin on images
* rebuilt
2017-03-25 19:05:57 +01:00
Andrea Bogazzi
b69d7ed59b
Version 178 ( #3781 )
...
* changes
2017-03-14 23:56:11 +01:00
Andrea Bogazzi
4e769eaee3
fixed dirty ( #3782 )
2017-03-14 23:42:01 +01:00
by12
197ec39ed1
Update path.class.js ( #3774 )
2017-03-14 22:55:03 +01:00
kghandi
6493bdb8a8
Fix textarea focus bug when canvas is in an element that stops events from reaching the body ( #3754 )
...
See example: https://jsfiddle.net/kghandi/jhd6xn4x/
* remove comments
* Update fabric.js
manually updated fabric.js for testing, since I don't know how to do a build.
* Revert "Update fabric.js"
This reverts commit d4f8e2c6a44aa4be92a3dced85020241fac0ea29.
* Resolve unit test failure for textarea focus patch
Reference lowerCanvasEl instead of upperCanvasEl so the patch works for
StaticCanvas.
* Resolve unit test failure for textarea focus patch
Check for this.canvas initialized.
* Resolve unit test failure for textarea focus patch
* Resolve unit test failure for textarea focus patch
* Fix positioning of hiddenTextArea
* Update itext_behavior.mixin.js
2017-03-14 22:54:49 +01:00
Andrea Bogazzi
45f102b8a5
Added middle click mouse down managment ( #3764 )
...
* added test
* fixed test
2017-03-14 22:54:34 +01:00
Andrea Bogazzi
a816742415
Better offscreen detetion, added parameter to skip offscreen rendering. ( #3758 )
...
* added check for offscren
* changes
* better onscreen detection
* fix lint
2017-03-14 22:54:13 +01:00
Andrea Bogazzi
05f959a627
Refocus textarea on mouseout from canvas ( #3759 )
...
* add focus on moouse out
* fix mouse out lost focus
2017-03-14 22:53:47 +01:00
Asturur
b0260640b9
rebuilt dist
2017-02-27 10:28:48 +01:00
Andrea Bogazzi
920c56ce52
v177 ( #3748 )
2017-02-27 02:34:04 +01:00
Andrea Bogazzi
99dbf469a4
Fix opacity parsing from classes and from fill-opacity ( #3747 )
...
* fix to parser
* fix opacity parsing
* fix opacity parsing
* added tests
* fix for parsing attributes equalt to 0
* added test
* fixed better
* removed fix
2017-02-27 02:18:59 +01:00
Andrea Bogazzi
0b325bb94d
fix text coordinates on init ( #3745 )
...
* fix text coordinates on init
* added small test
* fix test lint
2017-02-27 02:03:59 +01:00
Edwin Guzman
c1ff02e1aa
Fix problem on fabric.Line controls and line.getWidth() ( #3742 )
...
* feat(pr/fixLineWidth) Fix problem on fabric.Line controls and line.getWidth()
* fix line boxes and svg import
2017-02-26 10:57:59 +01:00
Andrea Bogazzi
7873c4f62f
text fixes to style ( #3743 )
2017-02-24 23:02:57 -05:00
Stefan Kienzle
a429773bfa
Fix loadFromJSON default values for fill and stroke ( #3735 )
2017-02-23 08:46:03 -05:00
by12
23eb9b2cb1
Update path_group.class.js ( #3728 )
2017-02-21 07:17:22 -05:00
Andrea Bogazzi
a5d5dc17d2
add safe check for activeObject
2017-02-19 23:54:30 -05:00
Andrea Bogazzi
676ae10618
fix for bluriness ( #3721 )
2017-02-19 17:34:46 -05:00
Andrea Bogazzi
7acfec2511
Firedeselectedalsowithmouse ( #3716 )
...
* added code
* added test
2017-02-18 23:05:09 -05:00
Andrea Bogazzi
b9d4888188
build v176 ( #3707 )
2017-02-16 17:24:39 -05:00
Andrea Bogazzi
ff0b6f0a50
make cacheCanvas created on the fly if needed ( #3706 )
2017-02-16 17:19:32 -05:00
Andrea Bogazzi
d058307dd0
build 175 ( #3705 )
...
update to v175
2017-02-16 16:57:22 -05:00
Andrea Bogazzi
5aeb2a619d
add condition on angle transform ( #3704 )
2017-02-16 16:32:52 -05:00
Andrea Bogazzi
085a3c75fc
Do not fire selection changed if we are not editing ( #3702 )
...
* Do not fire selection changed if we are not editing
* fire selection changed event after enter editing
* fix tests
* fixed trailing space
2017-02-16 16:16:43 -05:00
Andrea Bogazzi
c9e50febad
add needsItsOwnCache property ( #3703 )
2017-02-16 15:36:45 -05:00
Stefan Hayden
eb6815a972
Draw consecutive textBackgroundColor in style with one draw call ( #3698 )
2017-02-16 13:44:54 -05:00
Andrea Bogazzi
5605d84f3b
Version 1.7.4 ( #3692 )
...
* v174
* fixed a text for browser
2017-02-14 09:35:24 -05:00
Andrea Bogazzi
5cd1111195
fix reload from json ( #3691 )
...
* fix reload from json
* fix just on path
2017-02-14 00:40:02 -05:00
Andrea Bogazzi
7ff1063c07
passivefalseeverywhere ( #3690 )
...
* passivefalseeverywhere
* Update canvas_events.mixin.js
* Update dom_event.js
* Update canvas.class.js
2017-02-13 23:35:35 -05:00
Andrea Bogazzi
91c851a333
fire deselected on activeObject switch. ( #3689 )
...
* misc changes
* fire the selection on target swap
* manag exitEditing without events
* onDeselect
* onDeselect
2017-02-13 07:47:59 -05:00
Andrea Bogazzi
f2b3cc86d9
subtarget check selection on activeObject ( #3688 )
...
* subtarget check selection
* fix
2017-02-12 18:52:00 -05:00