PW-1468 - Fix cropping for canvas with image on edge

This commit is contained in:
Anders Gustafsson
2018-09-26 13:49:45 +02:00
parent 022825195a
commit 8ed0030927
4 changed files with 64 additions and 18 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ function Viewport(canvas) {
if (canvas.__type !== 'canvas') {
drawBeams();
} else {
self.setFrame(self.getFrameHandler().getFrameType());
self.setFrame(canvas.__canvasFrameType);
}
canvas.getDragbars().apply();