summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/objects.js b/objects.js
index e7cf9cd..18b4027 100644
--- a/objects.js
+++ b/objects.js
@@ -3896,7 +3896,8 @@ StageMorph.prototype.clear = function () {
StageMorph.prototype.userMenu = function () {
var ide = this.parentThatIsA(IDE_Morph),
- menu = new MenuMorph(this);
+ menu = new MenuMorph(this),
+ myself = this;
if (ide && ide.isAppMode) {
menu.addItem('help', 'nop');
@@ -3904,6 +3905,13 @@ StageMorph.prototype.userMenu = function () {
}
menu.addItem("edit", 'edit');
menu.addItem("show all", 'showAll');
+ menu.addItem(
+ "pic...",
+ function () {
+ window.open(myself.fullImageClassic().toDataURL());
+ },
+ 'open a new window\nwith a picture of the stage'
+ );
return menu;
};