Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisCnockaert committed Jun 14, 2024
1 parent 26c9502 commit c01c986
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Mooflod/MfPerformanceNbStepsElement.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ MfPerformanceNbStepsElement class >> exampleNbSteps [

<script>
| s space |
space := BlSpace new.
space root layout: BlFlowLayout horizontal.
space toTheme: MfMooflodTheme new.
s := self new.
s addSteps: 189.
s transformDo: [ :c | c translateBy: 200 @ 150 ].
space := BlSpace new.
space root layout: BlFlowLayout horizontal.
space toTheme: MfMooflodTheme new.
space root addChild: s.
space show.
^ s
Expand Down Expand Up @@ -60,9 +60,7 @@ MfPerformanceNbStepsElement >> initialize [
super initialize.
self geometry: (BlRoundedRectangleGeometry cornerRadius: 18).
self size: 350 @ 160.

self background: Color black.
self addSteps: 0.
animRunning := false
]

Expand Down

0 comments on commit c01c986

Please sign in to comment.