More fixes for canvas product type
This commit is contained in:
@@ -10,6 +10,7 @@ function Viewport(canvas) {
|
||||
var _borderWidth = 2;
|
||||
var _data = null;
|
||||
var _rect;
|
||||
var self = this;
|
||||
|
||||
/**
|
||||
* Applies viewport to page
|
||||
@@ -42,7 +43,7 @@ function Viewport(canvas) {
|
||||
}
|
||||
|
||||
canvas.getDragbars().apply();
|
||||
|
||||
self.setFrame();
|
||||
// Apertures sometimes overlaps the viewports bounding rect.
|
||||
// Solve this by bringing it to the front after apertures are applied.
|
||||
_rect.bringToFront();
|
||||
@@ -136,7 +137,7 @@ function Viewport(canvas) {
|
||||
*/
|
||||
this.setFrame = function (frameType) {
|
||||
this.getFrameHandler().setFrames(frameType);
|
||||
}
|
||||
};
|
||||
|
||||
this.getData = function () {
|
||||
return _data;
|
||||
|
||||
Reference in New Issue
Block a user