Commit graph

3366 commits

Author SHA1 Message Date
Andrea Bogazzi
eb9b7f45b9 Add ID to svg export (#2993) 2016-05-21 15:07:04 +02:00
Andrea Bogazzi
489230bdf5 add callback with null argument to failed xml load (#2994) 2016-05-21 14:34:17 +02:00
Andrea Bogazzi
f425966162 give text its own dimension function (#2992)
* give text its own dimension function
* updated tests after verifying that the svg import from element is better than previous
2016-05-21 13:05:59 +02:00
Andrea Bogazzi
e8a530019f remove deadcode (#2984) 2016-05-19 21:39:06 +02:00
Andrea Bogazzi
143c0758a7 add excludeFromExport property (#2976)
* add excludeFromExport property
* added test for SVG and JSON
2016-05-17 12:56:34 +02:00
Andrea Bogazzi
a0ba49ea5d Use reviver also for background and overlay image in svg export (#2975)
* Use reviver also for background and overlay image
2016-05-17 02:56:25 +02:00
Andrea Bogazzi
830838b037 Fix export of colors alwaus in rgb + eventually opacity. 2016-05-16 17:22:05 +02:00
Andrea Bogazzi
38bebc2fcb bump to 1.6.2 and build dist (#2973) 2016-05-15 23:59:26 +02:00
Andrea Bogazzi
11fd746c1e Use scaled canvas dimensions (#2972) 2016-05-15 13:07:32 +02:00
Andrea Bogazzi
0297041e2f Fix iText space width justification (#2971) 2016-05-15 12:04:02 +02:00
Andrea Bogazzi
cb0c71e1fe * Remove rounding for minScaleLimit, added test.
* Remove rounding for minScaleLimit
2016-05-14 18:38:48 +02:00
Morton Fox
a26b29b0da Fix the links to Kitchensink demo 2016-05-11 08:08:54 +02:00
Andrea Bogazzi
56ef2d2612 Update svg export to do not output colors in rgba format. 2016-05-09 12:41:48 +02:00
Andrea Bogazzi
a9cf96b9be fix imageToObject with resize filters (#2954)
width and height get stored as before filtering in case of filters with type resize.
2016-05-09 12:11:48 +02:00
Andrea Bogazzi
3ab5cdbc26 bring selectAll on keydown again (#2951) 2016-05-08 21:26:25 +02:00
Andrea Bogazzi
fcfc9f45f9 do not override user options. 2016-05-08 21:22:51 +02:00
Andrea Bogazzi
13026beecb Control customization part 4 - draw selection background (#2950) 2016-05-08 09:55:34 +02:00
Andrea Bogazzi
52f1ebd500 Update doc for _initDimension and setFont* methods (#2949)
* Update text.class.js doc
* added more docs
2016-05-07 09:04:46 +02:00
Andrea Bogazzi
b99eebd324 Control cusomization part 3 - allow for rounded corners (#2942)
Using Object.cornerStyle = 'circle' or 'rect'
2016-05-05 20:22:17 +02:00
Andrea Bogazzi
e5bedf3ebb fix itext width calculation with caching false (#2943) 2016-05-05 12:59:47 +02:00
Andrea Bogazzi
0410aae841 Control customization part 2 - Allow for separate corner filling and cornerStroke (#2933) 2016-05-04 22:44:30 +02:00
Andrea Bogazzi
27fd548bd3 Delegate dataURL multiplier to viewport zooming (#2940)
This temporary viewport change allow correct zooming and scaling of shadow.
2016-05-04 22:35:09 +02:00
Andrea Bogazzi
d7ea78b812 added prototype from basefilter 2016-05-04 20:59:32 +02:00
Andrea Bogazzi
c4911406ac Fix createSVGFontFacesMarkup (#2935)
* Update parser.js
2016-05-03 14:05:17 +02:00
Andrea Bogazzi
3c9fb411c4 Control customization part 1 - Set dashed line to controls and borders (#2932)
added:
cornerDashArray
borderDashArray
borderScaleFactor influences both border and controls now
changed default corner size to 13: (a default size of 12 is always out of focus when borders are on focus and viceversa, at least now they are same. difference is not noticeable because the 1st and 12th pixel where always across 2 different pixels)
2016-05-03 10:16:19 +02:00
Andrea Bogazzi
e032cae7d1 Set line dash in external function (#2928)
* move dashed code in function for later reuse in controls
* Added functionTest
2016-05-02 11:33:09 +02:00
Andrea Bogazzi
17775fa567 Make iText fires object:modified on text change on exit editing (#2927)
added some tests also.
2016-05-02 08:25:03 +02:00
Andrea Bogazzi
fab0c05d2a make Modifier keys customizable (#2925)
Make the keys used for modifying transformations and multiselect customizable within shiftKey, altKey and ctrlKey
2016-05-02 06:41:55 +02:00
Andrea Bogazzi
6fd1f8aa21 Add missing stroke.live translation, allow gradientTransform for dashed line. 2016-05-01 14:29:45 +02:00
Andrea Bogazzi
200632015f Allow hoverCursor to appear on non selectable objects. (#2924)
Fixed regression from #2907, added object.moveCursor
2016-05-01 03:06:20 +02:00
Andrea Bogazzi
bc0591b082 Update devDependencies (#2923) 2016-05-01 00:40:02 +02:00
Andrea Bogazzi
015af249fa Update canvas loadFromJSON to restore includeProperties (#2921)
added test also.
2016-04-30 13:51:12 +02:00
Andrea Bogazzi
e94ddb7d3f Built dist and bump to 1.6.1 (#2919)
bumped to 1.6.1
2016-04-29 02:21:40 +02:00
Andrea Bogazzi
f88711a526 Docs links, remove last forward slash (#2917) 2016-04-28 23:33:40 +02:00
Andrea Bogazzi
b49882ba83 Stop producing fabric.Element documentation. (#2915)
fabric.Element is a deprecated alias.
2016-04-28 11:37:53 +02:00
Andrea Bogazzi
940db388a8 Use sendToBack, bringToFront, bringForward, sendBackwards for multiple selections (#2908)
Use sendToBack, bringToFront, bringForward, sendBackwards for activeGroups.
Visually there is no effect if preserveObjectStacking is set to false.
2016-04-28 11:21:48 +02:00
Andrea Bogazzi
c335cb558e remove forward slashes in docs urls 2016-04-27 16:02:58 +02:00
Andrea Bogazzi
611c6f7d4b remove forward slashes in docs urls 2016-04-27 16:01:48 +02:00
Andrea Bogazzi
21ea8c25c5 remove forward slashes in docs urls 2016-04-27 16:01:09 +02:00
Andrea Bogazzi
928009dce9 remove forward slashes in docs urls 2016-04-27 16:00:13 +02:00
Andrea Bogazzi
1768ef48ac deleted forward slashes in docs urls 2016-04-27 15:54:18 +02:00
Andrea Bogazzi
923b876e4b Fix docs ending slash for urls 2016-04-27 15:52:57 +02:00
Andrea Bogazzi
c84bce2703 Fire canvas mouse:out when the mouse leave the canvas (#2907)
* Add support for mouseOut out of the canvas.
Clear the _hoveredTarget and fire mouseout on the previous hovered if any.
Make selection of small object easier.
2016-04-26 02:05:58 +02:00
Andrea Bogazzi
218ad28f2b Draw controls only for active target (#2903) 2016-04-25 11:06:25 +02:00
Andrea Bogazzi
b95b4d2b2f Search the target again on mouse up 2016-04-25 10:32:23 +02:00
Andrea Bogazzi
81faf427fa Move dependecies on optional (#2901)
move dependencies on optionals so users that do not want to install node dependencies can still install fabric.
2016-04-23 05:16:30 +02:00
Andrea Bogazzi
32b963bc0c perPixelTargetFind shiftClick deselection fix
Make possible to shiftclick and remove object from active group while using perPixelTargetFind
2016-04-23 02:00:24 +02:00
ssuser
6c3f18ae1c built-dist 2016-04-19 08:58:19 -04:00
Andrea Bogazzi
188fed21f5 Do not clear the contextTop if we are in drawingMode. closes #2723 (#2895)
* do not clear contexttop if we are drawing
2016-04-15 23:04:04 +02:00
Andrea Bogazzi
67955ae38c Update CHANGELOG.md 2016-04-15 13:00:54 +02:00