added "svg" entry to the stage icon's context menu

pull/89/head
jmoenig 2019-12-02 18:04:53 +01:00
rodzic 5709398677
commit b41ef7077e
2 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -16,6 +16,7 @@
* objects: added aspect racio governance and generator tags to trails SVGs
* threads: catch empty trails log when trying to generate a vector trails costume
* objects: support relabelling "pen trails" to "pen trails (SVG)" and vice-versa
* gui: added "svg" entry to the stage icon's context menu
## v5.3.8:
* **Notable Change:**

Wyświetl plik

@ -8020,6 +8020,13 @@ SpriteIconMorph.prototype.userMenu = function () {
},
'open a new window\nwith a picture of the stage'
);
if (this.object.trailsLog.length) {
menu.addItem(
'svg...',
function () {myself.object.exportTrailsLogAsSVG(); },
'export pen trails line segments as SVG'
);
}
return menu;
}
if (!(this.object instanceof SpriteMorph)) {return null; }