Skip to content

Commit

Permalink
update event name for space testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyan11 committed Oct 29, 2024
1 parent 68f04c6 commit b74efa5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Pyramid-Bloc/PyramidSpacePlugin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ PyramidSpacePlugin >> initialize [
builder := PyramidSpaceBuilder defaultEditorBuilder.
morphicPresenter := SpMorphPresenter new.
resetSpaceButton := SpButtonPresenter new
icon: (Smalltalk ui icons iconNamed: #smallUpdate);
icon:
(Smalltalk ui icons iconNamed: #smallUpdate);
action: [ self resetSpace ];
help: 'Refresh space in case of an issue';
yourself
Expand All @@ -61,9 +62,8 @@ PyramidSpacePlugin >> makePresenterWithBlSpace: aBlSpace [

aBlSpace host: host.
aBlSpace addEventHandler: (BlEventHandler
on: BlSpaceDestroyedEvent
do: [ :evt |
self updateMorphInCaseOfFaillure: morph ]).
on: BlSpaceClosedEvent
do: [ :evt | self updateMorphInCaseOfFaillure: morph ]).

self morphicPresenter morph: morph.
self morphicPresenter whenDisplayDo: [ aBlSpace show ]
Expand Down

0 comments on commit b74efa5

Please sign in to comment.