File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,17 +155,17 @@ GMTEEditorTileMap >> mouseMove: anEvent [
155
155
156
156
{
157
157
#category : #' event handling' ,
158
- #' squeak_changestamp' : ' Valentin Teutschbein 7/9/2024 21:58 '
158
+ #' squeak_changestamp' : ' Valentin Teutschbein 7/9/2024 22:13 '
159
159
}
160
160
GMTEEditorTileMap >> mouseUp: anEvent [
161
161
162
162
| indicesToAdd activeLayer |
163
- (self previousTileStates size > 0 ) ifTrue: [self saveTileEditChanges].
164
163
self model brush firstMatrixIndex: nil .
165
164
indicesToAdd := self model brush outputSet.
166
165
activeLayer := self model selectedLayers anyOne.
167
166
self updateTiles: (indicesToAdd asCollection) inLayer: activeLayer FromEvent: anEvent.
168
167
self model brush resetOutputSet.
168
+ (self previousTileStates size > 0 ) ifTrue: [self saveTileEditChanges]
169
169
]
170
170
171
171
{
You can’t perform that action at this time.
0 commit comments