mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Fix image export
This commit is contained in:
parent
ec4bb85009
commit
b076f482f1
@ -31,7 +31,7 @@ class BinaryImageExporter extends Exporter {
|
|||||||
height: number;
|
height: number;
|
||||||
|
|
||||||
constructor(mindmap: Mindmap, svgElement: Element, width: number, height: number, imgFormat: 'image/png' | 'image/jpeg') {
|
constructor(mindmap: Mindmap, svgElement: Element, width: number, height: number, imgFormat: 'image/png' | 'image/jpeg') {
|
||||||
super(imgFormat.split['/'][0], imgFormat);
|
super(imgFormat.split('/')[0], imgFormat);
|
||||||
this.svgElement = svgElement;
|
this.svgElement = svgElement;
|
||||||
this.mindmap = mindmap;
|
this.mindmap = mindmap;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user