Refresh 3D view when image is resized
This needs more work, height of image must be adapted for passed dimensions, else it looks strange for very tall viewports.
This commit is contained in:
@@ -46,6 +46,7 @@ function Viewport(canvas) {
|
|||||||
// Apertures sometimes overlaps the viewports bounding rect.
|
// Apertures sometimes overlaps the viewports bounding rect.
|
||||||
// Solve this by bringing it to the front after apertures are applied.
|
// Solve this by bringing it to the front after apertures are applied.
|
||||||
_rect.bringToFront();
|
_rect.bringToFront();
|
||||||
|
canvas.refresh3dView();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user