image operation: make sure embedded svgs are shown in writer only
fixed regression caused by 1c86fd2ff869d36 regression: while we move textbox in impress previews would not go away Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: I1b3cfefdd6abb7f81ff741eee4edab7e349c932d
This commit is contained in:
parent
91ab74f65c
commit
7821ce5368
1 changed files with 1 additions and 1 deletions
|
@ -1973,7 +1973,7 @@ L.CanvasTileLayer = L.Layer.extend({
|
|||
var wasVisibleSVG = this._graphicMarker._hasVisibleEmbeddedSVG();
|
||||
this._graphicMarker.removeEmbeddedSVG();
|
||||
this._graphicMarker.addEmbeddedSVG(textMsg);
|
||||
if (wasVisibleSVG)
|
||||
if (wasVisibleSVG && this._graphicSelection.extraInfo.isWriterGraphic)
|
||||
this._graphicMarker._showEmbeddedSVG();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue