Commit graph

14 commits

Author SHA1 Message Date
keyurpatel
fcef0a3bcf isPartiallyOnScreen method (#4856)
* appears

* new methods

isPartiallyOnScreen
isOffScreen

* UT

* test

* comment improved

* removed isOffScreen

* removed isOffScreen

* Update object_geometry.mixin.js

* Update object_geometry.mixin.js

* lint...

* omg
2018-04-28 14:35:24 +02:00
scriptspry
38f2d5cd99 Fixed incorrect Object.isOnScreen functionality. (#4763)
* Added missing calculate parameter in Object.isOnScreen.

* Update object_geometry.js
2018-03-01 01:44:43 +01:00
Andrea Bogazzi
2e532cc362
Limit sin and cosin very small floats on 90/270 degrees (#4734)
* so far ok

* fix transformations decimal

* remove some changes

* less changes

* test passing

* less calculation

* added shortcut

* modified tests
2018-02-18 15:56:27 +01:00
Andrea Bogazzi
d8dab88a46
Fix originX and originY missing in the matrix cacheKey (#4703)
* added test
* fixed the typo
2018-02-10 12:16:09 +01:00
Andrea Bogazzi
a9d2fb1ba5
Fix scaling issues that involves width/height (#4491)
* fixed
* added a small test
* typo
2017-11-23 18:04:54 +01:00
Andrea Bogazzi
7eea5228b9
removed specific node code (#4470)
* removed node code

* fixed UTs
2017-11-19 20:00:01 +01:00
Andrea Bogazzi
40f16a9b4e Memoize transform and use transform for rendering (#4418)
* done

* done removed dist

* added some test
2017-10-27 09:01:32 +02:00
Andrea Bogazzi
d11c55e9cd Make scaleToWidth/scaleToHeight use the absolute parameter (#4350)
* added absolute param to scaleToWidth

* added simple tests
2017-09-28 23:25:20 -04: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
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
Andrea Bogazzi
0d0f5c5e63 Better offscreen detetion, added parameter to skip offscreen rendering. (#3758)
* added check for offscren

* changes

* better onscreen detection

* fix lint
2017-03-03 16:42:14 +01: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
c378fa5b04 Misc changes (#3614)
* misc changes
2017-01-30 15:24:32 +01:00
Andrea Bogazzi
be8dfae17e Various fixes (#3057)
Fixes hidden textarea positioning, rendering fixes during canvas zoom.
2016-06-19 23:33:54 +02:00