Commit graph

3726 commits

Author SHA1 Message Date
Andrea Bogazzi
87f4fc905b Add a new event and fixed the free drawing point displacement (#4311)
* things

* fixed drawing paths

* added jsdocs
2017-09-16 13:06:09 +02:00
Andrea Bogazzi
124da9ca26 backport subtarget fix 2017-09-09 00:29:10 +02:00
Andrea Bogazzi
0f265631b3 Compare distance between cursor with absolute value. (#4295)
* fix with Math.abs

* ok this works

* added test

* added test file

* linting tests

* wrong test
2017-09-07 12:59:02 +02:00
Andrea Bogazzi
545686ed96 Fix Safari svg whitespace (#4294)
* fix-whitespace

* fixed tests

* fixed doc
2017-09-07 12:02:56 +02:00
Andrea Bogazzi
0d36e565a9 improved docs, fixed dirty on group destroy (#4293) 2017-09-07 11:41:03 +02:00
Tristan Fischer
e2f44cc76b fix object.getObjectOpacity() docs (#4277) 2017-09-06 12:38:49 +02:00
Andrea Bogazzi
860b7a74c0 mousemove and svg export (#4283) 2017-09-06 12:38:12 +02:00
Andrea Bogazzi
a72d9630f6 try with mouseout (#4275) 2017-08-31 23:18:59 +02:00
Andrea Bogazzi
5bab9b84b2 fix path exports svgs (#4274) 2017-08-31 22:59:22 +02:00
Tristan Fischer
5f7e61f02f fix typo in shadow docs (#4271) 2017-08-31 22:33:10 +02:00
Andrea Bogazzi
4e438cac7b improved condition (#4258) 2017-08-29 22:35:02 +02:00
Andrea Bogazzi
db6510be67 adds , {backstoreOnly: true} for toDataURL export (#4254)
adds the backstoreOnly to __toDataURLWithMultiplier's setDimensions calls to prevent the canvas from resizing in the browser window when the canvas.toDataURL() method is called per issue #4252
2017-08-29 22:25:59 +02:00
Andrea Bogazzi
69d377b992 Output version (#4251)
* output version in json

* fixed tests

* fixed lint
2017-08-29 22:23:42 +02:00
Andrea Bogazzi
678099ed21 Fix free drawing, fix minScaleLimit for textbox (#4250)
* fixed free drawing
* better handling of minscale limit
2017-08-25 10:43:24 +02:00
Asturur
ffe49ccf9c pass activeObject to event 2017-08-19 23:39:24 +02:00
Andrea Bogazzi
a15d480d07 fix dataurl and improve docs for move forward/backward (#4229)
* fix dataurl and docs
* fixed paths
2017-08-18 21:29:06 +02:00
Andrea Bogazzi
16f5baaf29 Fix group canvas propagation to sub objects (#4228)
* restore canvas prop

* add tests

* add tests
2017-08-18 20:43:39 +02:00
ncou
b663204002 Better mouse support when lockScalingFlip is true. (#4225) 2017-08-18 15:55:31 +02:00
ncou
e9a5d0000e Fix unicode space char (#4224) 2017-08-18 14:25:52 +02:00
Andrea Bogazzi
9fc678825e fix shader pick (#4207) 2017-08-16 10:16:59 +02:00
Andrea Bogazzi
3b10702512 Normalize Api for getSelectionStyles, setSelectionStyles (#4202)
* reworked the text selection

* reorganized api

* missing file

* fixed lint

* more test
2017-08-15 10:10:01 +02:00
Asturur
10545cec77 fixed lint in tests 2017-08-14 15:14:41 +02:00
Andrea Bogazzi
6b4d215162 Remove active property from objects (#4200)
* removed active
* removed active property
* removed active property
2017-08-14 15:12:58 +02:00
Stefan Hayden
b114d8d0ee Parser RegEx update (#4003)
* better regex and attribute validation as well as public accesss to the regex

* lint
2017-08-14 13:52:52 +02:00
Andrea Bogazzi
b7d9047c9c Put window.fabric under a build flag (#4199)
* moved global in a module

* fix package.json
2017-08-14 13:42:17 +02:00
Andrea Bogazzi
a06b568968 Improved selection flow (#4198)
* improved flow
* improved selection flow
* do not transform not selected objects
2017-08-14 13:29:32 +02:00
Asturur
d7d88fe5c8 updated to beta6 2017-08-14 09:57:47 +02:00
Andrea Bogazzi
4cccab8f51 Remove fabric.Object.remove (#4197)
* removed remove method

* removed remove method
2017-08-14 09:44:51 +02:00
Andrea Bogazzi
77632c6e0e fixed svg import again (#4196) 2017-08-14 09:35:19 +02:00
Andrea Bogazzi
1c0c12fe8a fix-text-pattern (#4194) 2017-08-13 23:05:40 +02:00
Andrea Bogazzi
03efa1801a Fixed style removal for wrapped textbox (#4193)
* fixed style backspace
* use numeric value to compare
2017-08-13 21:39:45 +02:00
Andrea Bogazzi
ffd2d3254c Fix block style insertion (#4192)
* fix style nsertion

* fixed tests from older changes

* fixed tests from older changes
2017-08-13 20:49:39 +02:00
Asturur
836bf158b9 setAngle => rotate 2017-08-12 13:48:01 +02:00
Asturur
1fd1ba3b55 fix typo in isRendering 2017-08-10 00:12:34 +02:00
Andrea Bogazzi
39321c7b34 Fix text copy paste when there is no style (#4185)
* fix

* removed dist build
2017-08-09 23:17:07 +02:00
Nick Swider
da27ef57c4 Add chaining to iText selection methods (#4178) 2017-08-09 09:05:40 +02:00
Andrea Bogazzi
ddb9896455 fix opacity (#4176) 2017-08-06 17:56:45 +02:00
Andrea Bogazzi
59e615024c Hue filter (#4175)
* added hue rotation

* added hue rotation
2017-08-06 17:23:42 +02:00
Andrea Bogazzi
b5323bd83e make function just create canvas (#4172)
* make function just create canvas
* added tests
* added tests
2017-08-05 21:32:03 +02:00
Andrea Bogazzi
5a791a8291 fixed origins (#4170)
* fixed origins

* fixed origins
2017-08-04 11:20:50 +02:00
Asturur
0e4e13b644 updated to beta5 2017-08-04 08:50:46 +02:00
Asturur
acd941925a fix typo in shaders 2017-08-04 08:47:27 +02:00
Andrea Bogazzi
eec7981eec added onSelect (#4168) 2017-08-04 08:45:32 +02:00
Andrea Bogazzi
e0546b0105 Fix bugs with new activeSelection (#4167)
* test

* fixes
2017-08-04 00:11:00 +02:00
Andrea Bogazzi
068c815340 Fix text insert on null, give default style to text (#4166)
* text style error
* change text init
* fixes
2017-08-03 23:23:42 +02:00
Andrea Bogazzi
c705c6b4d8 Fix custom build (#4165)
* Update misc.js
* move the line in correct place
2017-08-03 22:14:17 +02:00
Asturur
f86370582c changes to build file 2017-07-29 16:28:30 +02:00
Andrea Bogazzi
7b50999f83 Fixes some beta issues (#4148)
* fixed the image.toSVG
* fixed the image.toSVG
* fixes
2017-07-29 14:09:31 +02:00
neopheus
3b06e685ef Some modifications (#4137)
* unnecessary semicolon
* comment error
* expression simplified
* simply function
* jsdoc update
2017-07-29 11:41:32 +02:00
neopheus
1ab140c830 centerPont => centerPoint (#4132) 2017-07-24 11:30:09 +02:00