kopia lustrzana https://github.com/backface/turtlestitch
added "svg" entry to the stage icon's context menu
rodzic
5709398677
commit
b41ef7077e
|
@ -16,6 +16,7 @@
|
||||||
* objects: added aspect racio governance and generator tags to trails SVGs
|
* objects: added aspect racio governance and generator tags to trails SVGs
|
||||||
* threads: catch empty trails log when trying to generate a vector trails costume
|
* 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
|
* 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:
|
## v5.3.8:
|
||||||
* **Notable Change:**
|
* **Notable Change:**
|
||||||
|
|
|
@ -8020,6 +8020,13 @@ SpriteIconMorph.prototype.userMenu = function () {
|
||||||
},
|
},
|
||||||
'open a new window\nwith a picture of the stage'
|
'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;
|
return menu;
|
||||||
}
|
}
|
||||||
if (!(this.object instanceof SpriteMorph)) {return null; }
|
if (!(this.object instanceof SpriteMorph)) {return null; }
|
||||||
|
|
Ładowanie…
Reference in New Issue