Added image scale to frame
This commit is contained in:
@@ -79,7 +79,7 @@ function FrameHandler(viewport) {
|
||||
_frames.top.height =
|
||||
_frames.bottom.height =
|
||||
_frames.right.width =
|
||||
_frames.left.width = viewport.getData().ppmm * 29;
|
||||
_frames.left.width = viewport.getData().ppmm * 29 * viewport.canvas.getImage().scaleX;
|
||||
|
||||
_frames.top.width = _frames.bottom.width = viewport.getData().width;
|
||||
_frames.right.height = _frames.left.height = viewport.getData().height;
|
||||
|
||||
Reference in New Issue
Block a user