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
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
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
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
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
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
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
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
Andrea Bogazzi
aa53e08a6b
isContainedWithinObject on coords instead of bounding rect ( #3252 )
...
* update function and test
* fix interset with object and overlap
2016-09-11 16:01:23 +02:00
Andrea Bogazzi
5d0bf5a166
add custom properties to bg and overlay ( #3250 )
2016-09-11 12:40:57 +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
Asturur
a1e5d518bf
fixed tests for browser
2016-09-01 08:31:56 +02:00
Andrea Bogazzi
bba8b3a705
bring callback toapplyfilters ( #3210 )
...
* bring callback toapplyfilters
2016-08-28 22:42:41 +02:00
Andrea Bogazzi
148b5c1434
Make object fire deselect event ( #3195 )
2016-08-28 22:25:51 +02:00
neopheus
37689f52eb
Update Wheel event ( #3204 )
...
rename mousewheel -> wheel
2016-08-27 18:13:02 +02:00
neopheus
2570b548a7
Lerp - lock t between 0 and 1 ( #3188 )
...
* lock t between 0 and 1
* Add New Unit Test for lerp (min, max t)
2016-08-26 15:41:22 +02:00
neopheus
a6bc04ce8d
Add Hex Color RGBa ( #3202 )
...
* Add RGBa (8 digits, #FF5544CC, 4 digits #F54C);
2016-08-26 10:46:14 +02:00
Andrea Bogazzi
27f9214d94
Update text.class.js
2016-08-23 11:19:52 +02:00
Andrea Bogazzi
ff56ad583e
Make text use default setStrokeDash function
2016-08-23 10:49:14 +02:00
Andrea Bogazzi
17d7f929d5
Update collection.mixin.js ( #3174 )
...
* Update collection.mixin.js
2016-08-22 11:51:59 +02:00
neopheus
5db01369e4
Check code 2 ( #3186 )
...
* JSDoc update + same name for variables
2016-08-22 11:36:30 +02:00
Andrea Bogazzi
702126eb85
Change getFontDeclaration ( #3191 )
...
* Change getFontDeclaration
2016-08-22 11:27:34 +02:00
Kyle Herock
181cdec80c
give getSrc a better role in this class. ( #3189 )
2016-08-22 10:43:17 +02:00
neopheus
3544b727be
Update code v2 ( #3180 )
...
* update JSDOC - v4
* update JSDOC -v5
2016-08-20 17:58:16 +02:00
neopheus
9b383628e8
JSdoc update ( #3179 )
...
* update JSDOC
* update JSDOC - v2
* update JSDOC - v3
2016-08-20 12:05:19 +02:00
Andrea Bogazzi
fd6038d50d
no need to render if nothing happened
2016-08-18 07:58:35 +02:00
Andrea Bogazzi
9a595f7037
forgot to export charSpacing value in toObject Method
2016-08-18 07:54:59 +02:00
Andrea Bogazzi
46624d3f50
Textspacing ( #3097 )
...
Introduce charspacing.
2016-08-14 23:19:42 +02:00
Andrea Bogazzi
cf5f327f55
Extending test coverage ( #3148 )
...
* adding tests
2016-08-14 11:05:44 +02:00
Stefan Dietz
c0f5dc3eb0
Change borderScaleFactor behaviour ( #2930 ) ( #3154 )
2016-08-12 00:14:12 +02:00
Andrea Bogazzi
a2b4ef564b
Add enableRetinaScaling to cloneAsImage ( #3147 )
...
* Add enableRetinaScaling to cloneAsImage
* added test
2016-08-08 07:17:39 +02:00
Andrea Bogazzi
c36225015a
initialized body variable
2016-08-07 22:37:26 +02:00
Andrea Bogazzi
48a6c9c67f
fix insert at ( #3146 )
2016-08-07 22:30:05 +02:00
Juan Basso
201a8c7f65
Added missing object:added on docs ( #3145 )
...
`object:added` is also fired by canvas.
2016-08-07 22:01:09 +02:00
Andrea Bogazzi
ad7e56422a
Get pointer change ( #3144 )
...
* fix normalized pointer
* more tests
2016-08-07 17:00:58 +02:00
Simon Kunz
03d27681c3
Add Color Matrix filter class ( #3139 )
2016-08-03 07:26:30 -04:00
Scott Seaward
ebb2552357
IE replace text selection with keypress ( #3137 )
...
Why:
* After creating a textbox, selecting text, and pressing a key, the first character of the previous text would remain.
* This happened because the hidden textarea would not update its selection in IE when it was in the same parent element as the canvas.
This change addresses the need by:
* Keeping the hidden textarea in the body element.
* IE now correctly updates the text selection as the user interacts with the canvas textbox.
2016-08-01 16:46:40 -04:00
Andrea Bogazzi
9e4ed9565f
fix cursor left without shift ( #3135 )
...
* fix cursor left and added missing test
2016-07-31 23:32:10 -04:00
Andrea Bogazzi
d93f91febc
Start to cleant setSelections ( #3119 )
2016-07-31 12:21:52 -04:00
Andrea Bogazzi
948019f622
add object scaling function ( #3134 )
...
* add object scaling function
* Update object.class.js
2016-07-30 12:04:38 -04:00
Andrea Bogazzi
9e5f3ab7b9
numeric origin ( #3121 )
...
* Numeric object origin add tets
2016-07-25 10:07:50 -04:00