Commit graph

3739 commits

Author SHA1 Message Date
Andrea Bogazzi
dd6cbe93a2 Fix fast type in itext. (#4339)
* fix fast type
2017-09-23 00:39:20 +02:00
amadois
d7131d1cac corrected typo (#4328)
thanks
2017-09-20 19:27:03 +02:00
Andrea Bogazzi
ea93c288e8 fix-div-by0 (#4327) 2017-09-20 00:29:16 +02:00
Andrea Bogazzi
ad6521affb Paint order svg for CIRCLE, IMAGE and TEXT (#4320)
* added were missing
* added for image too
2017-09-18 00:14:08 +02:00
Stefan Hayden
0fc71349a6 Paint order (#4303)
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Andrea Bogazzi
ddb402730d Fix mouse:out on shift click selection (#4317)
* add hovered target when create active selection;

* selection and hovered

* added another assertion
2017-09-17 13:18:13 +02:00
Asturur
10c5d49c62 fixed tests 2017-09-17 12:40:05 +02:00
Andrea Bogazzi
fa96a59891 upgrade to beta7 (#4316) 2017-09-17 12:13:19 +02:00
Andrea Bogazzi
c03111824c Update deps (#4315)
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
741fcbaa9a Fires selected for object included in drag area (#4314)
* added many tests
* linted tests
2017-09-16 23:31:11 +02:00
Andrea Bogazzi
9bd5e90840 Fix scale equally and double flip not happening (#4313)
* fix double flip

* fixed lint
2017-09-16 22:11:50 +02:00
Andrea Bogazzi
1b8786c706 Adding some tests on events firing (#4312)
* some tests on events

* fixed test linting
2017-09-16 20:27:45 +02:00
Jordan Acosta
cdd28b01a2 Check fabric.window for ontouchstart (#4302)
Fixes #2664
2017-09-16 13:06:47 +02:00
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