Andrea Bogazzi
84f5e5abe3
Fix path shifting and inability to draw dots on 1.7 ( #4525 )
...
* fix paths
* fixed tests
* restored dist
* right limit
2017-12-02 20:21:56 +01:00
Andrea Bogazzi
d1b6c04626
backport group fix
2017-11-12 15:59:37 +01:00
Andrea Bogazzi
435c5e6f2b
backported fuzzyness
2017-11-12 15:21:09 +01:00
Andrea Bogazzi
bbf3466ecb
udpated smarter _set
2017-10-26 11:47:31 +02:00
Andrea Bogazzi
517b7566aa
Fix subtargets with preserveObjectStacking true ( #4297 )
...
* fix double subtargets
* add a test
* removed dist
2017-09-08 12:05:06 +02:00
Andrea Bogazzi
f157f930ef
backport #4119 ( #4120 )
2017-07-22 19:15:21 +02:00
Andrea Bogazzi
345e225e20
Fix a bug in recent caching changes ( #4051 )
...
* small fix
* fixed and added tests
* comeon andrea wake up
2017-07-01 14:34:23 +02:00
Andrea Bogazzi
595884ba58
merged commit
2017-06-25 15:03:35 +02:00
Andrea Bogazzi
d9dca3e26d
backported some cache changes
2017-06-24 23:14:23 +02:00
Andrea Bogazzi
17ad6c6a0a
version 1.7.13 ( #4008 )
...
* Minimize delay between clear and re render. (#4007 )
* moved clear later
* moved clear later
* v1713
* changed readme
* try to fix tests
2017-06-14 22:46:51 +02:00
nickvans
0c822403e8
Update rgba regex to account for alpha ( #4006 )
...
* Update rgba regex to account for alpha
Previous regex would fail for an rgba string with a non integer alpha value. "rgba(255, 128, 64, .5)"
* Create color.js
* Create color.js
2017-06-14 21:51:42 +02:00
Andrea Bogazzi
d7a0d33b64
Extend test coverage ( #3999 )
...
* extended test coverage
* new file
* fixed lint
2017-06-12 11:14:32 +02:00
Andrea Bogazzi
95b1cac048
Backport binding fixes ( #3984 )
...
* Update canvas_events.mixin.js (#3953 )
Allow to display custom cursor also for unselectable items
* backport
2017-06-07 14:20:17 +02:00
Andrea Bogazzi
e1f34f7a6d
Fix #3905 add an additional setCoords at the end of addWithUpdate/removeWithUpdate ( #3911 )
...
* added setCoords
* removed extra setCoords
* so tired i cannot read
* added test
2017-05-06 19:55:26 +02:00
Andrea Bogazzi
0da1cc4813
fix 3906 moved target cancellation up so ( #3909 )
...
* moved target cancellation up
* added tests
2017-05-06 18:42:30 +02:00
Andrea Bogazzi
ce0962d87b
Fix groupSelector on editing Text ( #3901 )
...
* fix for drag on editing text
* updated test
2017-04-30 22:23:07 +02:00
Andrea Bogazzi
a4ad919383
Added isClick boolean to mouseUp events on left click ( #3898 )
...
* added test
* removed useless method
2017-04-29 10:06:07 +02:00
Andrea Bogazzi
9ce4da2a1e
Allow group selection start on non selectable object ( #3892 )
...
* allow selection start on non selectable obkect
* fixed lint
2017-04-27 23:03:39 +02:00
Andrea Bogazzi
aff86b1b6b
fixed cache for first draw ( #3870 )
...
* fixed cache for first draw
* fixed tests
2017-04-23 13:46:29 +02:00
Andrea Bogazzi
bab50f4166
merge conflict
2017-04-22 22:52:17 +02:00
Andrea Bogazzi
0847697126
Issue 3832 Add toDatalessObject to Group class since it may contains pathGroups. ( #3863 )
...
* fix toDatalessObject
* added test
2017-04-22 22:49:49 +02:00
Andrea Bogazzi
1c4f6188f2
fix gradient toSVG for radial gradients ( #3807 )
...
* support svg crossorigin on images
* fix gradient export
* added tests
2017-03-26 10:49:51 +02:00
Andrea Bogazzi
4e769eaee3
fixed dirty ( #3782 )
2017-03-14 23:42:01 +01:00
Andrea Bogazzi
45f102b8a5
Added middle click mouse down managment ( #3764 )
...
* added test
* fixed test
2017-03-14 22:54:34 +01:00
Andrea Bogazzi
a816742415
Better offscreen detetion, added parameter to skip offscreen rendering. ( #3758 )
...
* added check for offscren
* changes
* better onscreen detection
* fix lint
2017-03-14 22:54:13 +01:00
Andrea Bogazzi
99dbf469a4
Fix opacity parsing from classes and from fill-opacity ( #3747 )
...
* fix to parser
* fix opacity parsing
* fix opacity parsing
* added tests
* fix for parsing attributes equalt to 0
* added test
* fixed better
* removed fix
2017-02-27 02:18:59 +01:00
Andrea Bogazzi
0b325bb94d
fix text coordinates on init ( #3745 )
...
* fix text coordinates on init
* added small test
* fix test lint
2017-02-27 02:03:59 +01:00
Stefan Kienzle
a429773bfa
Fix loadFromJSON default values for fill and stroke ( #3735 )
2017-02-23 08:46:03 -05:00
Andrea Bogazzi
7acfec2511
Firedeselectedalsowithmouse ( #3716 )
...
* added code
* added test
2017-02-18 23:05:09 -05:00
Andrea Bogazzi
085a3c75fc
Do not fire selection changed if we are not editing ( #3702 )
...
* Do not fire selection changed if we are not editing
* fire selection changed event after enter editing
* fix tests
* fixed trailing space
2017-02-16 16:16:43 -05:00
Andrea Bogazzi
5605d84f3b
Version 1.7.4 ( #3692 )
...
* v174
* fixed a text for browser
2017-02-14 09:35:24 -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
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
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
5ed0b83d45
fix tests ( #3602 )
2017-01-03 01:08:14 +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
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
8a6b17cac6
add custom props to pattern and gradient ( #3477 )
2016-12-01 23:39:25 +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
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
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