From aa6fc108e971327ead0efcf8425abafcaea8fcd1 Mon Sep 17 00:00:00 2001 From: Joshua Storost Date: Fri, 12 Jul 2024 22:50:06 +0200 Subject: [PATCH] fix exportAsImage --- source/GM-TE/GMTEEditor.class.st | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/source/GM-TE/GMTEEditor.class.st b/source/GM-TE/GMTEEditor.class.st index 1c0c690d..c5e97ea0 100644 --- a/source/GM-TE/GMTEEditor.class.st +++ b/source/GM-TE/GMTEEditor.class.st @@ -1066,12 +1066,16 @@ GMTEEditor >> enableSingleLayerButtons [ { #category : #'menu button functions', - #'squeak_changestamp' : 'jj 6/22/2024 20:48' + #'squeak_changestamp' : 'JS 7/12/2024 22:47' } GMTEEditor >> exportAsImage [ "exports the current tile map as a png" - - self tileMap exportAsImage + |exportTilemap| + exportTilemap := self tileMap veryDeepCopy. + exportTilemap + hideHighlightingLayer; + resetView; + exportAsImage. ] {