nurbs999
3987c962dd
Do not enforce action as string ( #3992 )
...
* Do not
2017-06-09 09:56:22 +02:00
Andrea Bogazzi
7cb2e647a9
backport ( #3988 )
2017-06-07 15:47:32 +02:00
Andrea Bogazzi
cd18c1501f
removed extra creations ( #3985 )
2017-06-07 14:19:46 +02:00
Andrea Bogazzi
9cae49510f
stop double binding ( #3983 )
...
* stop double binding
2017-06-07 14:07:38 +02:00
Andrea Accardo
2b1ffd45cc
Update canvas_events.mixin.js ( #3953 )
...
Allow to display custom cursor also for unselectable items
2017-06-07 10:15:40 +02:00
Andrea Bogazzi
da7ba025a1
missed one parseSVGDoc ( #3977 )
2017-06-01 15:28:37 +02:00
Andrea Bogazzi
5e52cc4a94
Fix controls override ( #3976 )
...
* overrides really override
* fixed all overrides
2017-06-01 15:15:08 +02:00
Andrea Bogazzi
ec2a716344
fixed error in image render ( #3975 )
2017-06-01 14:53:36 +02:00
Andrea Bogazzi
6476506a3c
fixed extra animations ( #3974 )
2017-06-01 14:50:17 +02:00
Andrea Bogazzi
5a86ad9f07
bring out element chain ( #3973 )
2017-06-01 14:45:50 +02:00
Andrea Bogazzi
7517b951ab
Remove PathGroups for Groups. ( #3969 )
...
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
e96ccf9ea6
new filtering with webgl ( #3915 )
2017-05-29 18:28:24 +02:00
Andrea Bogazzi
a8db7b3523
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:54:42 +02:00
Andrea Bogazzi
0f559ad84f
removed saveCoords hasMoved ( #3910 )
...
* removed method
* deleted tests
2017-05-06 19:16:03 +02:00
Andrea Bogazzi
ce996e2ec6
fix 3906 moved target cancellation up so ( #3909 )
...
* moved target cancellation up
* added tests
2017-05-06 15:03:07 +02:00
apgeo
e8766af559
Updated fiddle describing originX/originY usage ( #3907 )
...
The old fiddle did not work because of now inexistent fabricjs dependency script
2017-05-06 13:05:53 +02:00
Andrea Bogazzi
95d07a97ba
small changes ( #3908 )
2017-05-06 13:05:07 +02:00
Andrea Bogazzi
19c18a512d
Fix groupSelector on editing Text ( #3901 )
...
* fix for drag on editing text
* updated test
2017-04-30 21:21:52 +02:00
Andrea Bogazzi
4638459dac
Add more information to mouseOver mouseOut events. ( #3900 )
2017-04-30 20:39:15 +02:00
Andrea Bogazzi
b4761f3459
only one object for style ( #3899 )
2017-04-29 20:26:33 +02:00
Andrea Bogazzi
ee323e126f
Give a way to draw controls programmatically ( #3887 )
...
* changes to control rendering
* changes
* moved render all after the events
* more changes
* removed console.log
2017-04-29 20:08:23 +02:00
Andrea Bogazzi
977d71de6e
Added isClick boolean to mouseUp events on left click ( #3898 )
...
* added test
* removed useless method
2017-04-29 10:05:23 +02:00
Andrea Bogazzi
d1ec14f2de
Allow group selection start on non selectable object ( #3892 )
...
* allow selection start on non selectable obkect
* fixed lint
2017-04-27 23:03:00 +02:00
Andrea Bogazzi
6139af3a1c
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 12:59:33 +02:00
Stefan Hayden
ca95fb513b
initDelayedCursor() will abort and then restart the cursor animation ( #3879 )
2017-04-24 22:57:11 +02:00
Andrea Bogazzi
4d4b8f1088
added missing functions ( #3877 )
2017-04-24 09:48:56 +02:00
Andrea Bogazzi
17035c7480
reduce angle calculation error for cosin of 90 and 270 degrees ( #3872 )
...
* reduce angle calculation error
* reduce angle calculation error
2017-04-24 02:13:18 +02:00
Andrea Bogazzi
79c21cf188
pass event to functions ( #3871 )
2017-04-23 23:58:47 +02:00
Andrea Bogazzi
ff2909ebf8
fixed cache for first draw ( #3870 )
...
* fixed cache for first draw
* fixed tests
2017-04-23 13:44:22 +02:00
Asturur
1e057a0bbf
renamed char in _cahr
2017-04-23 11:28:57 +02:00
Andrea Bogazzi
eb3d7496ca
fix caching widths ( #3868 )
2017-04-23 11:18:47 +02:00
Asturur
879d5b4e66
built beta.1 with isNaN fix
2017-04-23 08:46:53 +02:00
Andrea Bogazzi
630ed86d9e
fix toSVG polygons and other bugs ( #3866 )
2017-04-22 22:46:45 +02:00
Andrea Bogazzi
ea17776d28
Do not cache group if a child has shadow. ( #3864 )
...
* fix caching with shadows
* add travis install for canvas
2017-04-22 20:59:34 +02:00
Andrea Bogazzi
d95612e3c3
Issue 3832 Add toDatalessObject to Group class since it may contains pathGroups. ( #3863 )
...
* fix toDatalessObject
* added test
2017-04-22 15:15:01 +02:00
Andrea Bogazzi
ba19885256
fix-3482 ( #3862 )
2017-04-22 14:08:41 +02:00
Andrea Bogazzi
b112b3405f
text rewriting - reorganization ( #3676 )
...
*text refactored.
2017-04-22 09:15:38 +02:00
Roger Beaman
e0e431ce78
fixing callSuper ( #3844 )
...
* fixing callSuper
* fixing lint
* fixed unexpected alias for this
2017-04-20 13:43:58 +02:00
Rob Hoffmann
6dd4b70b44
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-20 13:43:45 +02:00
ncou
de39c3c148
remove unused "originalState" var ( #3836 )
2017-04-09 01:01:36 +02:00
Andrea Bogazzi
f877f52f2a
fix gradient toSVG for radial gradients ( #3807 )
...
* support svg crossorigin on images
* fix gradient export
* added tests
2017-03-26 10:22:10 +02:00
Asturur
e4a42e054f
support svg crossorigin on images
2017-03-25 18:45:54 +01:00
Andrea Bogazzi
c145ac26f2
fixed dirty ( #3782 )
2017-03-14 23:36:48 +01:00
Andrea Bogazzi
e5b5e92530
Revert 3754 modal textarea ( #3780 )
...
* Revert "Update path.class.js (#3774 )"
This reverts commit a7ff845165 .
* Revert "switch to canvas prebuilt (#3757 )"
This reverts commit b979bd5861 .
* Revert "Fix textarea focus bug when canvas is in an element that stops events from reaching the body (#3754 )"
This reverts commit 3f9b69fe80 .
2017-03-14 23:11:50 +01:00
by12
a7ff845165
Update path.class.js ( #3774 )
2017-03-14 21:42:07 +01:00
Andrea Bogazzi
b979bd5861
switch to canvas prebuilt ( #3757 )
...
* swithced to canvas prebuilt
* try 2
* remove toolchanin needed to setup canvas
2017-03-14 12:37:07 +01:00
kghandi
3f9b69fe80
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 12:36:38 +01:00
Andrea Bogazzi
efcd946b48
fix setSelectionStyles do not set anything when there is no selection ( #3765 )
...
* fix setSelection
* fixed tests
2017-03-06 01:15:24 +01:00
Andrea Bogazzi
50180a1111
Added middle click mouse down managment ( #3764 )
...
* added test
* fixed test
2017-03-06 00:12:44 +01:00
Andrea Bogazzi
0d0f5c5e63
Better offscreen detetion, added parameter to skip offscreen rendering. ( #3758 )
...
* added check for offscren
* changes
* better onscreen detection
* fix lint
2017-03-03 16:42:14 +01:00