Commit graph

2459 commits

Author SHA1 Message Date
Andrea Bogazzi
4c2e83d089 add cleanStyle, removeStyle (#4060)
* add cleanStyle, removeStyle
* added semi colons
2017-07-03 12:20:27 +02:00
Andrea Bogazzi
c41ef91fca Image meet or slice with cropX and cropY value (#4055)
* working example
* fixed tests
2017-07-03 12:20:10 +02:00
Andrea Bogazzi
192672abb0 add event to object modified (#4061) 2017-07-03 12:18:04 +02:00
Andrea Bogazzi
5e7e665eb8 made keymap public (#4053)
* made keymap public
* better docs
2017-07-01 16:25:10 +02:00
Andrea Bogazzi
f6a7c298b9 Textbox can scale as a normal object. (#4052)
* enabletextbox-scaling
2017-07-01 16:03:51 +02:00
Andrea Bogazzi
98ed4cc351 Fix a bug in recent caching changes (#4051)
* small fix
* fixed and added tests
* comeon andrea wake up
2017-07-01 14:33:47 +02:00
ncou
4a8df81c4b fixed typo (ingoreVpt to ignoreVpt) (#4048) 2017-06-30 16:11:13 +02:00
Andrea Bogazzi
ede5d8476c Increase cache canvas in steps, do not increase every mouse move (#4037)
* first try

* step increase size of canvas

* removed console.log
git push
2017-06-27 08:43:55 +02:00
Andrea Bogazzi
6185b07408 Limit cache size to upper and lower limit (#4035)
* just name change

* help

* test difference

* ok better limiting

* fix lint
2017-06-25 14:50:28 +02:00
Andrea Bogazzi
46af53a95b Name change of some caching method (#4034)
* just name change
* fixed test
2017-06-25 12:52:59 +02:00
Andrea Bogazzi
7a88afb2d3 Fix some caching in group issues related to deep checks (#4032)
* backport
* better fix
2017-06-24 23:10:55 +02:00
Andrea Bogazzi
efc2a216c7 fix noise (#4031) 2017-06-23 21:12:57 +02:00
Andrea Bogazzi
f99b0d78f3 fixed the glShaders (#4023) 2017-06-20 23:36:26 +02:00
Roger Beaman
5de811f098 adding-data-attribute-for-hidden-textarea (#4022) 2017-06-20 18:47:11 +02:00
Andrea Bogazzi
da9161e48f Minimize delay between clear and re render. (#4007)
* moved clear later

* moved clear later
2017-06-14 22:22:23 +02:00
Stefan Hayden
3cee915a6b return all svg elements as a 4th function param when loading an svg (#4002) 2017-06-14 21:53:11 +02:00
nickvans
8cc52e0966 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:50:27 +02:00
Stefan Hayden
a1ccf7155b path is the only object that inherits from Object but does not call super. it should also call super for consistancey and to allow overriding of the object initialize prototype (#4005) 2017-06-14 18:31:42 +02:00
Andrea Bogazzi
57cc67300f add dblclick event support (#3998)
* added double click

* added double click
2017-06-12 00:03:35 +02:00
Andrea Bogazzi
5f57659149 Enable request animationFrame for mouse interaction (#3997)
* switch to request animation frame

* added request animation frame

* fix
2017-06-11 23:16:46 +02:00
Andrea Bogazzi
145bd3b03f Force async (#3996)
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
69f37b0a4f restored path restore from string 2017-06-11 18:15:29 +02:00
nurbs999
3987c962dd Do not enforce action as string (#3992)
* Do not
2017-06-09 09:56:22 +02:00
Andrea Bogazzi
7cb2e647a9 backport (#3988) 2017-06-07 15:47:32 +02:00
Andrea Bogazzi
cd18c1501f removed extra creations (#3985) 2017-06-07 14:19:46 +02:00
Andrea Bogazzi
9cae49510f stop double binding (#3983)
* stop double binding
2017-06-07 14:07:38 +02:00
Andrea Accardo
2b1ffd45cc Update canvas_events.mixin.js (#3953)
Allow to display custom cursor also for unselectable items
2017-06-07 10:15:40 +02:00
Andrea Bogazzi
da7ba025a1 missed one parseSVGDoc (#3977) 2017-06-01 15:28:37 +02:00
Andrea Bogazzi
5e52cc4a94 Fix controls override (#3976)
* overrides really override

* fixed all overrides
2017-06-01 15:15:08 +02:00
Andrea Bogazzi
ec2a716344 fixed error in image render (#3975) 2017-06-01 14:53:36 +02:00
Andrea Bogazzi
6476506a3c fixed extra animations (#3974) 2017-06-01 14:50:17 +02:00
Andrea Bogazzi
5a86ad9f07 bring out element chain (#3973) 2017-06-01 14:45:50 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
e96ccf9ea6 new filtering with webgl (#3915) 2017-05-29 18:28:24 +02:00
Andrea Bogazzi
a8db7b3523 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:54:42 +02:00
Andrea Bogazzi
0f559ad84f removed saveCoords hasMoved (#3910)
* removed method
* deleted tests
2017-05-06 19:16:03 +02:00
Andrea Bogazzi
ce996e2ec6 fix 3906 moved target cancellation up so (#3909)
* moved target cancellation up
* added tests
2017-05-06 15:03:07 +02:00
apgeo
e8766af559 Updated fiddle describing originX/originY usage (#3907)
The old fiddle did not work because of now inexistent fabricjs dependency script
2017-05-06 13:05:53 +02:00
Andrea Bogazzi
95d07a97ba small changes (#3908) 2017-05-06 13:05:07 +02:00
Andrea Bogazzi
19c18a512d Fix groupSelector on editing Text (#3901)
* fix for drag on editing text

* updated test
2017-04-30 21:21:52 +02:00
Andrea Bogazzi
4638459dac Add more information to mouseOver mouseOut events. (#3900) 2017-04-30 20:39:15 +02:00
Andrea Bogazzi
b4761f3459 only one object for style (#3899) 2017-04-29 20:26:33 +02:00
Andrea Bogazzi
ee323e126f Give a way to draw controls programmatically (#3887)
* changes to control rendering

* changes

* moved render all after the events

* more changes

* removed console.log
2017-04-29 20:08:23 +02:00
Andrea Bogazzi
977d71de6e Added isClick boolean to mouseUp events on left click (#3898)
* added test

* removed useless method
2017-04-29 10:05:23 +02:00
Andrea Bogazzi
d1ec14f2de Allow group selection start on non selectable object (#3892)
* allow selection start on non selectable obkect
* fixed lint
2017-04-27 23:03:00 +02:00
Andrea Bogazzi
6139af3a1c Stop text from firing mouse up and mouse down on non left clicks (#3888)
* fix right click mouse up

* block mouse up/down for text on non left click

* fixes also deactivteAllWithDispatch
2017-04-26 12:59:33 +02:00
Stefan Hayden
ca95fb513b initDelayedCursor() will abort and then restart the cursor animation (#3879) 2017-04-24 22:57:11 +02:00
Andrea Bogazzi
4d4b8f1088 added missing functions (#3877) 2017-04-24 09:48:56 +02:00
Andrea Bogazzi
17035c7480 reduce angle calculation error for cosin of 90 and 270 degrees (#3872)
* reduce angle calculation error

* reduce angle calculation error
2017-04-24 02:13:18 +02:00
Andrea Bogazzi
79c21cf188 pass event to functions (#3871) 2017-04-23 23:58:47 +02:00