Skip to content

Commit

Permalink
smol fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Morgensterns committed May 28, 2024
1 parent e345b61 commit a976043
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions source/GM-TE/GMTEEditor.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ GMTEEditor >> createCommandBarWithBuilder: aBuilder [

{
#category : #building,
#'squeak_changestamp' : 'Alex M 5/23/2024 01:51'
#'squeak_changestamp' : 'Alex M 5/28/2024 02:03'
}
GMTEEditor >> createLayersWithBuilder: aBuilder [
^aBuilder pluggableListSpec new
Expand All @@ -267,7 +267,7 @@ GMTEEditor >> createLayersWithBuilder: aBuilder [
"A LOT OF MOCKUP CODE"
model: self;
getSelected: #selectedLayer;
setSelected: #selectedLayer:;
setSelected: #selectLayer:;
list: #layerList;
autoDeselect: false;
"minimumWidth:100;"
Expand Down Expand Up @@ -627,6 +627,18 @@ GMTEEditor >> resetAll [
self tileMapMatrix resetAll
]

{
#category : #accessing,
#'squeak_changestamp' : 'Alex M 5/28/2024 02:11'
}
GMTEEditor >> selectLayer: anObject [

selectedLayer := anObject.
self changed: #selectedLayer.
"self LAYER_TEST: self selectedLayer last asString asInteger"
"^^^ Use something like that later on?"
]

{
#category : #accessing,
#'squeak_changestamp' : 'Alex M 5/24/2024 00:40'
Expand Down

0 comments on commit a976043

Please sign in to comment.