CanvasTileLayer: Enable extra width for comments in PDF.
Signed-off-by: Gökay Şatır <gokay.satir@collabora.com> Change-Id: I062f235ddf15ecce83f746879c09169763209629
This commit is contained in:
parent
138fafa6cc
commit
78919c95f5
1 changed files with 1 additions and 1 deletions
|
@ -5422,7 +5422,7 @@ L.CanvasTileLayer = L.Layer.extend({
|
|||
|
||||
var dpiScale = this._painter._dpiScale;
|
||||
var extraSize = new L.Point(0, 0);
|
||||
if (this._docType === 'presentation')
|
||||
if (this._docType === 'presentation' || (this._docType === 'drawing' && app.file.fileBasedView))
|
||||
extraSize = this._annotationManager.allocateExtraSize(); // This changes only the width.
|
||||
|
||||
var docPixelLimits = new L.Point(this._docWidthTwips / this.options.tileWidthTwips,
|
||||
|
|
Loading…
Reference in a new issue