Commit graph

3531 commits

Author SHA1 Message Date
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
Asturur
44b9e7e520 change initial jsdom declaration 2016-12-06 09:59:49 +01:00
Andrea Bogazzi
549ea1776b fixes deep cloning of style (#3502)
* fixes deep cloning of style

* better fix and tests
2016-12-06 09:50:51 +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
1b1441a792 change (#3489) 2016-12-03 23:01:49 +01:00
Andrea Bogazzi
81609a85fb Fixestocachepolygon (#3490)
* fixes polygon and other subclasses
* fixed polygon fill
2016-12-03 22:53:51 +01:00
Stefan Hayden
6074660008 update values of alt keys from event instead of holding on to values from a stale mouseDown event (#3479) 2016-12-02 08:09:46 +01:00
Andrea Bogazzi
75e5a78431 v171 (#3478) 2016-12-01 23:56:21 +01:00
Andrea Bogazzi
8a6b17cac6 add custom props to pattern and gradient (#3477) 2016-12-01 23:39:25 +01:00
Andrea Bogazzi
6db3f4648e add blur on textarea (#3476) 2016-12-01 23:19:29 +01:00
Andrea Bogazzi
929391ff36 fix shadow zoom level (#3475) 2016-12-01 23:10:07 +01:00
Andrea Bogazzi
10f8c55948 fix for scale and flip (#3474) 2016-12-01 22:32:53 +01:00
Andrea Bogazzi
cf2ab8a8fe simpe fix for textbox (#3473)
* simpe fix for textbox

* resotre build
2016-12-01 22:14:12 +01:00
Asturur
3785dccacf rebuilt dist 2016-11-27 14:12:13 +01:00
Andrea Bogazzi
79a634c8d7 add default dirty flag to object 2016-11-27 13:21:24 +01:00
Andrea Bogazzi
d37ff8ebfe Remove usage of thix.ctx in initDimensions. (#3441)
* remove this.ctx at text startup.
* fix textbox
2016-11-21 21:25:46 +01:00
Andrea Bogazzi
a4a8f71fd7 Release 170 (#3437)
* build 170
* fix default values
* fix text not rendering
* other fixes
* finished fixing
2016-11-21 12:09:25 +01:00
Andrea Bogazzi
a5245b96c8 Fix itext cursor trail on initDimensions (#3436)
* add clear context top for set

* fix cursor trail
2016-11-20 19:11:49 +01:00
Andrea Bogazzi
52013a94d1 null check on setActive (#3435) 2016-11-20 19:11:37 +01:00
Andrea Bogazzi
2c814db928 Better deep object cloning and savestate check (#3434)
* fixed deep cloning with function removed array ordering
* added tests
2016-11-20 19:11:20 +01:00
Andrea Bogazzi
f306328b6d Add better jsdoc to util.object.extend 2016-11-15 09:08:47 +01:00
Andrea Bogazzi
525cae52b9 Switch to different coordinates for groups (#3420)
* rework coords for groups
* fixes typo
* separate set coords from calculation
* add options to bounding rect
2016-11-14 23:58:21 +01:00
Asturur
11dc62c0f3 add options to bounding rect 2016-11-14 23:47:14 +01:00
Asturur
60c48ece8d separate set coords from calculation 2016-11-14 23:23:18 +01:00
Asturur
e853f99d3b fixes typo 2016-11-14 23:17:44 +01:00
Asturur
f6e5a8e265 rework coords for groups 2016-11-14 23:14:10 +01:00
Andrea Bogazzi
9422fd39be Objectcaching (#3317) 2016-11-13 21:00:10 +01:00
Andrea Bogazzi
161a3e8acb v167 (#3417) 2016-11-13 00:57:55 +01:00
Marcin
f26a2dc8aa Word widths on justified line of text were calculated incorrectly. (#3408)
* Calculation of word widths on justified line will now correctly take styles into account
* fix lint
2016-11-13 00:35:40 +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