Commit graph

3545 commits

Author SHA1 Message Date
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
01d8392ae3 Update to 1.7.3 (#3603)
* build v173
2017-01-08 11:07:41 +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
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