Commit graph

2381 commits

Author SHA1 Message Date
by12
45c868cd2b Update path_group.class.js (#3728) 2017-02-21 07:16:22 -05:00
Andrea Bogazzi
22465346fc add safe check for activeObject 2017-02-19 23:52:53 -05:00
Andrea Bogazzi
214a169767 Removed es5 shim function and support for ie < 10 (#3722)
* removed es5 part
* removed json shim
* removed node 5
* removed node 5
2017-02-19 19:47:39 -05:00
Andrea Bogazzi
f85bdc75c6 Update path.class.js (#3713) 2017-02-19 17:29:03 -05:00
Andrea Bogazzi
74d8e02267 fix for bluriness (#3721) 2017-02-19 17:08:15 -05:00
Andrea Bogazzi
7a987faef2 changes (#3717) 2017-02-18 23:47:32 -05:00
Andrea Bogazzi
54f76a1066 Firedeselectedalsowithmouse (#3716)
* added code

* added test
2017-02-18 23:03:23 -05:00
Andrea Bogazzi
ff0b6f0a50 make cacheCanvas created on the fly if needed (#3706) 2017-02-16 17:19:32 -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
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
Andrea Bogazzi
e6cdd46bfd add global zoom information to setLocalMouse (#3671) 2017-02-07 13:42:18 +01:00
Andrea Bogazzi
c378fa5b04 Misc changes (#3614)
* misc changes
2017-01-30 15:24:32 +01:00
Andrea Bogazzi
6a30d81fdb clarified getPointer function on jsdocs 2017-01-30 10:06:01 +01:00
Cristian Scorteanu
f47835b37c Added an additional check for the blur event on hiddenTextarea (#3656)
* Added an additional check for the blur event on hiddenTextarea

* moved statements under if
2017-01-28 21:11:56 +01: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
9e37f9b3c1 Fixes recent and old small issues (#3643) 2017-01-23 00:34:47 +01:00
neopheus
f7551924af Color.class update (#3615)
* add toHexa method with tests
* Update toHexa Function (asturur)
2017-01-09 14:22:31 +01:00
Andrea Bogazzi
920b83b513 Handle wheel event as a normal event with target. (#3612)
* wheel event with target
* fix target detection
2017-01-07 14:38:57 +01:00
Andrea Bogazzi
4df8ef3698 Fix lines test 2017-01-07 14:31:14 +01:00
Andrea Bogazzi
673959b4e7 force origin for line fromElement (#3604) 2017-01-03 15:27:51 +01:00
Andrea Bogazzi
5ed0b83d45 fix tests (#3602) 2017-01-03 01:08:14 +01:00
Andrea Bogazzi
0c523361f5 fix pattern to svg (#3601) 2017-01-02 01:33:17 +01:00
Asturur
d5220fee6e wait pattern reload from json 2017-01-01 21:41:25 +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
88b9f7ef21 Changes to canvas svg export (#3599)
* change to parser
* fixed broken function;
* some changes to code reuse
2017-01-01 16:11:54 +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
1cb047bb66 fix space for cache canvas for thin lines (#3596)
* fix space for cache canvas
* add the fixed padding to cache canvas
* update group test
2016-12-30 18:19:18 +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
9bb820ed75 save new state anyway (#3595) 2016-12-28 11:50:48 +01:00
Asturur
e72881bb6d fix null object in enlived array 2016-12-27 10:43:49 +01:00
Asturur
2c9fd6dd66 fix null object in enlived array 2016-12-27 10:42:34 +01:00
Andrea Bogazzi
da253012c7 During load from json send error to reviver (#3586)
* send error to reviver
* add error to imageFromObject
2016-12-26 19:40:33 +01:00
Andrea Bogazzi
700ee14ff5 send up to group the change on dirty flag (#3564)
* send up to group the change on dirty flag
* added tests
2016-12-26 18:54:53 +01:00
Andrea Bogazzi
713e0af4bd correct doc for backgroundColor 2016-12-26 18:53:38 +01:00
KULDIP PIPALIYA
7c96c48eff Update canvas_events.mixin.js (#3561) 2016-12-22 09:32:58 +01:00
Andrea Bogazzi
1034a7c098 Reloadbackgrounds different from images (#3550)
* fix enliving
2016-12-19 09:26:20 +01:00
Andrea Bogazzi
ff21b07be4 build172 (#3547) 2016-12-18 11:05:13 +01:00
Andrea Bogazzi
5ab46d61de delete stylemap before wrapping text (#3546) 2016-12-18 00:20:41 +01:00
Andrea Bogazzi
7a88bf7d58 Includedefaults (#3545)
* fix defaults

* fix the hardcoded false

* fix typo
2016-12-18 00:10:36 +01:00
Juha
a5cc56762a Added missing semicolons to canvas.class.js (#3528) 2016-12-17 23:22:56 +01:00
Andrea Bogazzi
5b4e85dc48 Addition of aCoords (#3540)
* addition of acoords
* do not do extra work
2016-12-17 15:27:29 +01:00
Andrea Bogazzi
c8505ee0ab fix (#3539) 2016-12-17 14:46:05 +01:00
Andrea Bogazzi
41cc29a78c fix selection clearing (#3538) 2016-12-17 14:30:14 +01:00
Andrea Bogazzi
c77fcf308b Fix save state generation on dynamic created objects. (#3537)
* fix statefull on new group
2016-12-17 12:30:18 +01:00