Andrea Bogazzi
bafc28d3fc
Svg import improvements ( #4984 )
...
* test
* svg-import-fixes
* svg-import-fixes
* ok done
* adapted tests to new values
2018-05-29 10:28:02 +02:00
Andrea Bogazzi
ea4b53cf6f
Removed the code for swapping origin for rotation ( #4878 )
...
* lots of code deleted
* rotation working
* a change
* added simple test
* resolve conflict
2018-04-01 14:28:07 +02:00
Andrea Bogazzi
682eac4545
removed references to context when disposing ( #4846 )
...
* removed references to context
* improved test
* try fix error
2018-03-22 12:35:12 +01:00
Andrea Bogazzi
1c10b8c1e3
events drag ( #4421 )
...
added drag and drop events
2018-02-24 22:19:58 +01:00
scriptspry
d569407d3a
Fixes StaticCanvas.onBeforeScaleRotate not triggering when canvas is zoomed ( #4748 )
...
* Fixed StaticCanvas.onBeforeScaleRotate not getting triggered when canvas is zoomed.
* Added test for Canvas._beforeTransform.
2018-02-20 20:41:42 +01:00
Andrea Bogazzi
891a8e096e
handle top canvas in resize/renderAll ( #4527 )
...
* handle top canvas in resize/renderAll
* fix brush
2017-12-03 17:15:46 +01:00
Jérôme Steunou
7b64898d72
Add an option to selection objects only when 100% intersect ( #4508 )
...
* Add an option to selection objects only when 100% intersect
* Better description
* Cache property negation
* Add unit tests
* Remove boundary tests, not specific to this option
2017-11-29 12:40:17 +01:00
Andrea Bogazzi
7eea5228b9
removed specific node code ( #4470 )
...
* removed node code
* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
d4b51aec6c
added old props to selection:updated and selection:created ( #4357 )
...
* added old props
* added a test
2017-09-28 23:53:07 -04:00
Stefan Hayden
0fc71349a6
Paint order ( #4303 )
...
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Andrea Bogazzi
ddb402730d
Fix mouse:out on shift click selection ( #4317 )
...
* add hovered target when create active selection;
* selection and hovered
* added another assertion
2017-09-17 13:18:13 +02:00
Andrea Bogazzi
c03111824c
Update deps ( #4315 )
...
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
741fcbaa9a
Fires selected for object included in drag area ( #4314 )
...
* added many tests
* linted tests
2017-09-16 23:31:11 +02:00
Andrea Bogazzi
1b8786c706
Adding some tests on events firing ( #4312 )
...
* some tests on events
* fixed test linting
2017-09-16 20:27:45 +02:00
Andrea Bogazzi
124da9ca26
backport subtarget fix
2017-09-09 00:29:10 +02:00
Andrea Bogazzi
69d377b992
Output version ( #4251 )
...
* output version in json
* fixed tests
* fixed lint
2017-08-29 22:23:42 +02:00
Asturur
10545cec77
fixed lint in tests
2017-08-14 15:14:41 +02:00
Andrea Bogazzi
6b4d215162
Remove active property from objects ( #4200 )
...
* removed active
* removed active property
* removed active property
2017-08-14 15:12:58 +02:00
Andrea Bogazzi
ffd2d3254c
Fix block style insertion ( #4192 )
...
* fix style nsertion
* fixed tests from older changes
* fixed tests from older changes
2017-08-13 20:49:39 +02:00
Andrea Bogazzi
e0546b0105
Fix bugs with new activeSelection ( #4167 )
...
* test
* fixes
2017-08-04 00:11:00 +02:00
Andrea Bogazzi
351e7dfa47
Multiple fixes ( #4119 )
...
* multiple fixes
* updated tests
2017-07-22 16:34:47 +02:00
Andrea Bogazzi
c9b562de9e
Remove activeGroup functionalities from Group, create ActiveSelection class ( #4076 )
2017-07-22 11:37:17 +02:00
Andrea Bogazzi
5367cfa8e3
Add tests for sourcePath changes ( #4108 )
...
* modified path
* added tests
2017-07-18 08:38:19 +02:00
Andrea Bogazzi
240a1e4d3c
Fix cursors ( #4067 )
...
* test1
* fixed cursor
2017-07-04 00:26:00 +02:00
Andrea Bogazzi
d106051554
Remove accessors ( #4065 )
2017-07-03 17:02:44 +02:00
Andrea Bogazzi
03e504303c
Cursors not allowed ( #4064 )
...
* what so far
* not-allowed cursor
2017-07-03 15:10:49 +02:00
Andrea Bogazzi
c41ef91fca
Image meet or slice with cropX and cropY value ( #4055 )
...
* working example
* fixed tests
2017-07-03 12:20:10 +02:00
Andrea Bogazzi
9cae49510f
stop double binding ( #3983 )
...
* stop double binding
2017-06-07 14:07:38 +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
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
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
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
Andrea Bogazzi
50180a1111
Added middle click mouse down managment ( #3764 )
...
* added test
* fixed test
2017-03-06 00:12:44 +01:00
Stefan Kienzle
79c5d734c8
Fix loadFromJSON default values for fill and stroke ( #3735 )
2017-02-22 20:10:54 -05:00
Andrea Bogazzi
54f76a1066
Firedeselectedalsowithmouse ( #3716 )
...
* added code
* added test
2017-02-18 23:03:23 -05:00
Andrea Bogazzi
a326d1dda2
Remove hoveredTarget reference if object is removed ( #3657 )
...
* Remove hoveredTarget reference if object is removed
* Update canvas.js tests
* remove trailing spaces
2017-01-28 17:04:11 +01:00
Andrea Bogazzi
5ed0b83d45
fix tests ( #3602 )
2017-01-03 01:08:14 +01:00
Andrea Bogazzi
ab68d3a4ab
Reuse come code between object and canvas ( #3600 )
...
* try to reuse code
* some fixes
* fixed errors
* Update util.js
2017-01-01 18:07:56 +01:00
Andrea Bogazzi
edb90be547
WIP Patternload ( #3598 )
...
* make pattern load async
* made all object loadable asyncronously ( filters )
2016-12-30 22:41:16 +01:00
Andrea Bogazzi
3c0fe81b77
be more strict on when not to re render ( #3594 )
...
* add more check to first return false
* fix ;
* fix ; in tests
* fix test
2016-12-28 13:22:23 +01:00
Andrea Bogazzi
b775323424
fix includeDefaultValues ( #3497 )
...
* fix includeDefaultValues
* Update group.class.js
* Update group.js
* Update group.js
2016-12-05 14:51:06 +01:00
Andrea Bogazzi
c5f60743f5
To object origin ( #3416 )
...
* deleted double default cleaning
* rework object export
* fixed tests
* fix fabric2 api change.
* removed unused var
2016-11-12 23:54:42 +01:00
Jeremy Shipman
d0c32acf7f
Introduced testem test runner ( #3327 )
...
* Introduced testem test runner.
Install testem via 'npm install -g testem'
Run testem via 'testem'
* Fixed fixture image paths in tests
2016-10-05 09:12:26 +02:00
Andrea Bogazzi
49c7858596
changed to dataurl export ( #3314 )
...
* changed to dataurl
2016-10-02 19:37:20 +02:00
Andrea Bogazzi
c34027cdfd
fixed selection, added test ( #3254 )
2016-09-11 21:28:48 +02:00
Andrea Bogazzi
08f60adbea
switch to eslint ( #3229 )
...
* switch to eslint 2.x
* fix src
* fix tests
2016-09-10 15:14:23 +02:00
Andrea Bogazzi
ad7e56422a
Get pointer change ( #3144 )
...
* fix normalized pointer
* more tests
2016-08-07 17:00:58 +02:00
Andrea Bogazzi
72a6c273bf
remove lastRendered logic ( #3111 )
2016-07-17 08:35:18 +02:00
Andrea Bogazzi
51995a73d8
fix perPixelTargetFind ( #3109 )
2016-07-16 17:25:34 +02:00