|
@@ -798,8 +798,8 @@ export class InlineViewport extends ResizableViewport
|
798
|
798
|
if(this.style == 'inline') {
|
799
|
799
|
container.style.left = '0px';
|
800
|
800
|
container.style.top = '0px';
|
801
|
|
- container.style.width = this._realSize.width + 'px';
|
802
|
|
- container.style.height = this._realSize.height + 'px';
|
|
801
|
+ container.style.width = this.virtualSize.width + 'px';
|
|
802
|
+ container.style.height = this.virtualSize.height + 'px';
|
803
|
803
|
}
|
804
|
804
|
else
|
805
|
805
|
throw new IllegalOperationError('Invalid inline viewport style: ' + this.style);
|