Commit graph

705 commits

Author SHA1 Message Date
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
c378fa5b04 Misc changes (#3614)
* misc changes
2017-01-30 15:24:32 +01:00
Andrea Bogazzi
9e37f9b3c1 Fixes recent and old small issues (#3643) 2017-01-23 00:34:47 +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
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
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
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
Andrea Bogazzi
41cc29a78c fix selection clearing (#3538) 2016-12-17 14:30:14 +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
81609a85fb Fixestocachepolygon (#3490)
* fixes polygon and other subclasses
* fixed polygon fill
2016-12-03 22:53:51 +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
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
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
Andrea Bogazzi
17ad7896fc fix itext clear area (#3388)
* fix itext clear area
* fix overlapping bg colors

* do not commit dist
2016-10-29 16:41:44 +02:00
Andrea Bogazzi
84b012f9ce Versione 1.6.5 (#3316)
* fix to doc
* ver 165
2016-10-02 21:35:37 +02:00
Andrea Bogazzi
bb41cdfa4d remove space at start of line (#3315) 2016-10-02 19:58:34 +02:00
Andrea Bogazzi
49c7858596 changed to dataurl export (#3314)
* changed to dataurl
2016-10-02 19:37:20 +02:00
Andrea Bogazzi
cd4c465f4c fix text minimum dimensions (#3312)
* fix text dim
* add tests
2016-10-02 11:00:17 +02:00
Andrea Bogazzi
224309a4c7 fix src to svg (#3310) 2016-10-02 09:38:31 +02:00
Marcin
a8827e7a5c fixes Issue 3256 - line's style was gone when pushing line down (#3277) 2016-09-25 22:13:35 +02:00
Andrea Bogazzi
bda846b41a reverted font changes (#3276) 2016-09-19 09:44:42 +02:00
Andrea Bogazzi
437eea118f allow for deep state check and save (#3262) 2016-09-15 12:49:25 +02:00
Andrea Bogazzi
d7157d122c move backgroundColor to all classes (#3248) 2016-09-11 11:45:25 +02:00
Andrea Bogazzi
876c9ca91f Uniform clone and fromObject behaviour (#3212) 2016-09-10 16:09:17 +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
86e99899bc Update image.class.js 2016-09-05 20:18:50 +02:00
Andrea Bogazzi
5dbbcdb682 Update itext.class.js 2016-09-05 20:01:32 +02:00
Andrea Bogazzi
c5175d66e9 Update text.class.js 2016-09-05 19:52:59 +02:00
Andrea Bogazzi
42d8f3e463 Fix textbox and negative charspacing (#3233)
* do not count charspacing twice
* do not get negative with char width
2016-09-05 18:26:15 +02:00