Commit graph

194 commits

Author SHA1 Message Date
Andrea Bogazzi
eec7981eec added onSelect (#4168) 2017-08-04 08:45:32 +02:00
Andrea Bogazzi
e0546b0105 Fix bugs with new activeSelection (#4167)
* test

* fixes
2017-08-04 00:11:00 +02:00
Andrea Bogazzi
068c815340 Fix text insert on null, give default style to text (#4166)
* text style error
* change text init
* fixes
2017-08-03 23:23:42 +02:00
Andrea Bogazzi
c9b562de9e Remove activeGroup functionalities from Group, create ActiveSelection class (#4076) 2017-07-22 11:37:17 +02:00
Andrea Bogazzi
586e61dd28 Move all automatic renderAll to requestRenderAll (#4072)
* move to requestRenderAll
2017-07-04 23:13:10 +02:00
Andrea Bogazzi
d106051554 Remove accessors (#4065) 2017-07-03 17:02:44 +02:00
Andrea Bogazzi
98ed4cc351 Fix a bug in recent caching changes (#4051)
* small fix
* fixed and added tests
* comeon andrea wake up
2017-07-01 14:33:47 +02:00
Andrea Bogazzi
ede5d8476c Increase cache canvas in steps, do not increase every mouse move (#4037)
* first try

* step increase size of canvas

* removed console.log
git push
2017-06-27 08:43:55 +02:00
Andrea Bogazzi
6185b07408 Limit cache size to upper and lower limit (#4035)
* just name change

* help

* test difference

* ok better limiting

* fix lint
2017-06-25 14:50:28 +02:00
Andrea Bogazzi
46af53a95b Name change of some caching method (#4034)
* just name change
* fixed test
2017-06-25 12:52:59 +02:00
Andrea Bogazzi
7a88afb2d3 Fix some caching in group issues related to deep checks (#4032)
* backport
* better fix
2017-06-24 23:10:55 +02:00
Andrea Bogazzi
57cc67300f add dblclick event support (#3998)
* added double click

* added double click
2017-06-12 00:03:35 +02:00
Andrea Bogazzi
145bd3b03f Force async (#3996)
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
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
5e52cc4a94 Fix controls override (#3976)
* overrides really override

* fixed all overrides
2017-06-01 15:15:08 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +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
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
ff2909ebf8 fixed cache for first draw (#3870)
* fixed cache for first draw

* fixed tests
2017-04-23 13:44:22 +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
b112b3405f text rewriting - reorganization (#3676)
*text refactored.
2017-04-22 09:15:38 +02:00
Andrea Bogazzi
c145ac26f2 fixed dirty (#3782) 2017-03-14 23:36:48 +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
Stefan Kienzle
79c5d734c8 Fix loadFromJSON default values for fill and stroke (#3735) 2017-02-22 20:10:54 -05:00
Andrea Bogazzi
74d8e02267 fix for bluriness (#3721) 2017-02-19 17:08:15 -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
c9e50febad add needsItsOwnCache property (#3703) 2017-02-16 15:36:45 -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
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
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
7a88bf7d58 Includedefaults (#3545)
* fix defaults

* fix the hardcoded false

* fix typo
2016-12-18 00:10:36 +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
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