Commit graph

3496 commits

Author SHA1 Message Date
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
Andrea Bogazzi
1278677a97 includeDefaults for background and overlay (#3415)
* reuse code for _toObject
* added small test
2016-11-12 18:20:20 +01:00
Stefan Hayden
5915ca8d38 Trigger mouse over on canvas enter (#3389)
* fire a mouse:over event once when mouse enters the canvas
* only fire if we don't find a target
* only fire if we find no target and set the hoveredTarget to null
2016-11-01 11:11:01 +01:00
Joe Sullivan
d69d471db0 Grab target and pointer above right-click logic (#3381) 2016-10-29 16:52:30 +02: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
Stefan Hayden
10703055c0 adding object properties of snapAngle and snapThreshold to enable object snapping. (#3383)
* adding object properties of  and  to enable object snapping.
2016-10-29 09:55:41 +02:00
Andrea Bogazzi
273b2cd2d2 Add jsdoc to modifier keys (#3373) 2016-10-25 17:56:39 +02:00
Stefan Hayden
5eb3203e9e simple way to watch for changes to trigger a build (#3372) 2016-10-25 08:19:54 +02:00
Peter Dave Hello
5aa1a70c39 Add CDNJS version badge in readme (#3363) 2016-10-23 16:11:46 +02:00
Andrea Bogazzi
98c3291806 fix saturate filter (#3351) 2016-10-17 11:49:55 +02:00
Andrea Bogazzi
28c2654a23 Ver166 (#3350)
* ver 166
2016-10-16 23:40:02 +02:00
Andrea Bogazzi
ddc8a028de fix mouse:move removal (#3349) 2016-10-16 20:56:15 +02:00
Andrea Bogazzi
e54dc3bffb restored path parsing cache (#3347)
* restored path parsing cache
* Update arc.js
2016-10-15 23:45:47 +02:00
Andrea Bogazzi
7af65b05bd Fix event listeners after itext removal (#3345)
* fix function naming
2016-10-15 13:26:25 +02:00
Andrea Bogazzi
4459ae4b81 Contrast & saturation (#3341)
* added filters

* tweak

* fixed docs
2016-10-15 12:02:40 +02:00
Timo Höpfner
37976d55b3 FIX for toDataURL cropping (#3335)
* FIX for toDataURL cropping
* Unit test for toDataURL cropping
2016-10-11 11:05:20 +02:00
Andrea Bogazzi
8783b2132c change how itext handle removal handlers (#3332)
* change how itext handle removal handlers
* fix test lint
2016-10-09 09:25:43 +02:00
Jeremy Shipman
d0c32acf7f Introduced testem test runner (#3327)
* Introduced testem test runner.
Install testem via 'npm install -g testem'
Run testem via 'testem'

* Fixed fixture image paths in tests
2016-10-05 09:12:26 +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
b46c5b4ca3 remove unused function in staticCanvas (#3313)
* remove unused function in static
* fixed svg export
2016-10-02 12:12:42 +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
Andrea Bogazzi
51835c1224 use native stroke dash for selection area (#3309)
* use native stroke dash for selection area

* check support at init
2016-10-02 09:31:32 +02:00
Andrea Bogazzi
89593190bb added right click fire (#3308) 2016-10-01 20:25:47 +02:00
Andrea Bogazzi
8190aa7568 remove canvas reference on object removed (#3307)
* remove canvas reference on object removed

* remove canvas after event fire
2016-10-01 17:45:52 +02:00
Andrea Bogazzi
43813adbdf Update clear methd (#3305)
* Update  clear method
2016-10-01 14:23:27 +02:00
Andrea Bogazzi
e0f687298c add canvas offset to textarea position (#3306) 2016-10-01 14:05:46 +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
06a4207d25 added event firing for shortcuts (#3285) 2016-09-25 22:10:31 +02:00
Andrea Bogazzi
bda846b41a reverted font changes (#3276) 2016-09-19 09:44:42 +02:00
Andrea Bogazzi
07094a4ec5 fixed behaviour of shift click and shift keys (#3274)
removed some glitches, removed duplicate code
2016-09-18 23:22:49 +02:00
Andrea Bogazzi
77f37db3c9 fix shift click (#3270) 2016-09-17 23:56:55 +02:00
Andrea Bogazzi
437eea118f allow for deep state check and save (#3262) 2016-09-15 12:49:25 +02:00
Andrea Bogazzi
c34027cdfd fixed selection, added test (#3254) 2016-09-11 21:28:48 +02:00