Needs body
This commit is contained in:
parent
d976756265
commit
859c834026
@ -12,7 +12,7 @@ function FileSave(rune)
|
||||
d = ronin.surface.layers["render"].element.toDataURL('image/png');
|
||||
ronin.surface.layers["render"].clear();
|
||||
var w = window.open('about:blank','image from canvas');
|
||||
w.document.write("<title>"+(n ? n : "Untitled")+"</title><img src='"+d+"' width='"+ronin.surface.size.width+"px' height='"+ronin.surface.size.height+"px'/>");
|
||||
w.document.write("<title>"+(n ? n : "Untitled")+"</title><body><img src='"+d+"' width='"+ronin.surface.size.width+"px' height='"+ronin.surface.size.height+"px'/></body>");
|
||||
}
|
||||
|
||||
this.passive = function(cmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user