The Inbox: MorphicExtras-klub.83.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: MorphicExtras-klub.83.mcz

commits-2
A new version of MorphicExtras was added to project The Inbox:
http://source.squeak.org/inbox/MorphicExtras-klub.83.mcz

==================== Summary ====================

Name: MorphicExtras-klub.83
Author: klub
Time: 28 March 2010, 5:40:52.693 pm
UUID: b8d4b85b-973b-4d5a-b9ae-9a5fb0477f15
Ancestors: MorphicExtras-nice.82

- ClockMorph doesn't render subsecond values anymore

=============== Diff against MorphicExtras-nice.82 ===============

Item was changed:
  ----- Method: ClockMorph>>step (in category 'stepping and presenter') -----
  step
+
  | time |
  super step.
+ time := String streamContents: [ :stream |
+ | t |
+ t := Time now.
+ t seconds: t asSeconds. "ignore nanoSeconds"
+ t
+ print24: (show24hr == true)
+ showSeconds: (showSeconds == true)
+ on: stream].
+ self contents: time!
- time := String streamContents:
- [:aStrm | Time now print24: (show24hr == true) showSeconds: (showSeconds == true) on: aStrm].
-
- self contents: time !

Item was changed:
  ----- Method: ClockMorph>>stepTime (in category 'testing') -----
  stepTime
  "Answer the desired time between steps in milliseconds."
 
+ ^999!
- ^ 1000!