Andrea Bogazzi
d9dca3e26d
backported some cache changes
2017-06-24 23:14:23 +02:00
Andrea Bogazzi
17ad6c6a0a
version 1.7.13 ( #4008 )
...
* Minimize delay between clear and re render. (#4007 )
* moved clear later
* moved clear later
* v1713
* changed readme
* try to fix tests
2017-06-14 22:46:51 +02:00
Andrea Bogazzi
e126011652
Minimize delay between clear and re render. ( #4007 )
...
* moved clear later
* moved clear later
2017-06-14 22:22:54 +02:00
nickvans
0c822403e8
Update rgba regex to account for alpha ( #4006 )
...
* Update rgba regex to account for alpha
Previous regex would fail for an rgba string with a non integer alpha value. "rgba(255, 128, 64, .5)"
* Create color.js
* Create color.js
2017-06-14 21:51:42 +02:00
Stefan Hayden
c852a52fa5
path is the only object that inherits from Object but does not call super. it should also call super for consistancey and to allow overriding of the object initialize prototype ( #4005 )
2017-06-14 21:47:37 +02:00
Andrea Bogazzi
d7a0d33b64
Extend test coverage ( #3999 )
...
* extended test coverage
* new file
* fixed lint
2017-06-12 11:14:32 +02:00
Andrea Bogazzi
eab7185124
fix settings options ( #3995 )
2017-06-11 18:05:38 +02:00
nurbs999
5b35e32e82
Do not enforce action as string ( #3992 )
...
* Do not
2017-06-09 09:58:29 +02:00
Andrea Bogazzi
8e25a71696
v1712 ( #3987 )
2017-06-07 14:44:20 +02:00
Andrea Bogazzi
95b1cac048
Backport binding fixes ( #3984 )
...
* Update canvas_events.mixin.js (#3953 )
Allow to display custom cursor also for unselectable items
* backport
2017-06-07 14:20:17 +02:00
Andrea Bogazzi
044770c6f9
Fix display of svg without cache ( #3982 )
...
* small changes
2017-06-07 10:01:49 +02:00
fktalbert
0bf4b2a7f7
fix polyline toSVG ( #3951 )
...
* fix polyline toSVG
init diffX and diffY = 0
* removing trailing space
2017-05-22 14:00:00 +02:00
Andrea Bogazzi
e1f34f7a6d
Fix #3905 add an additional setCoords at the end of addWithUpdate/removeWithUpdate ( #3911 )
...
* added setCoords
* removed extra setCoords
* so tired i cannot read
* added test
2017-05-06 19:55:26 +02:00
Andrea Bogazzi
0da1cc4813
fix 3906 moved target cancellation up so ( #3909 )
...
* moved target cancellation up
* added tests
2017-05-06 18:42:30 +02:00
Andrea Bogazzi
ce0962d87b
Fix groupSelector on editing Text ( #3901 )
...
* fix for drag on editing text
* updated test
2017-04-30 22:23:07 +02:00
Andrea Bogazzi
4808eb3fba
Add more information to mouseOver mouseOut events. ( #3900 )
2017-04-30 20:40:40 +02:00
Andrea Bogazzi
a4ad919383
Added isClick boolean to mouseUp events on left click ( #3898 )
...
* added test
* removed useless method
2017-04-29 10:06:07 +02:00
Andrea Bogazzi
9ce4da2a1e
Allow group selection start on non selectable object ( #3892 )
...
* allow selection start on non selectable obkect
* fixed lint
2017-04-27 23:03:39 +02:00
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