Fixed config for frames and added only frames to canvas

This commit is contained in:
Erik Tiekstra
2017-05-18 14:20:04 +02:00
parent 2acdcafe09
commit 15d54ec45a
6 changed files with 40 additions and 20 deletions
+1 -2
View File
@@ -39,11 +39,10 @@ function Viewport(canvas) {
if (canvas.__type !== 'canvas') {
drawBeams();
} else {
// drawFrames
self.setFrame();
}
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();