mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-14 08:43:12 +00:00
Merge pull request #381 from Kienz/patch-1
Bugfix for controlsAboveOverlay (issue #380)
This commit is contained in:
commit
3269e83628
1 changed files with 3 additions and 2 deletions
|
|
@ -1216,7 +1216,8 @@
|
|||
|
||||
if (this.controlsAboveOverlay &&
|
||||
this.lastRenderedObjectWithControlsAboveOverlay &&
|
||||
this.containsPoint(e, this.lastRenderedObjectWithControlsAboveOverlay)) {
|
||||
this.containsPoint(e, this.lastRenderedObjectWithControlsAboveOverlay) &&
|
||||
this.lastRenderedObjectWithControlsAboveOverlay._findTargetCorner(e, this._offset)) {
|
||||
target = this.lastRenderedObjectWithControlsAboveOverlay;
|
||||
return target;
|
||||
}
|
||||
|
|
@ -1539,4 +1540,4 @@
|
|||
* @constructor
|
||||
*/
|
||||
fabric.Element = fabric.Canvas;
|
||||
})();
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue