Nicolas Cellier uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-nice.709.mcz==================== Summary ====================
Name: Morphic-nice.709
Author: nice
Time: 25 December 2013, 11:08:36.566 pm
UUID: a607fae8-080e-4206-b6de-dc8b518856df
Ancestors: Morphic-nice.708
Change a few print:(aFloat roundTo: 0.01) into nextPutAll:(aFloat printShowingMaxDecimalPlaces: 2)
=============== Diff against Morphic-nice.708 ===============
Item was changed:
----- Method: JoystickMorph>>setXRange (in category 'menu') -----
setXRange
| range |
range := UIManager default
request:
'Type the maximum value for the X axis' translated
+ initialAnswer: ((xScale * (self width - handleMorph width) / 2.0) printShowingMaxDecimalPlaces: 2).
- initialAnswer: ((xScale * (self width - handleMorph width) / 2.0) roundTo: 0.01) printString.
range isEmpty ifFalse: [
xScale := (2.0 * range asNumber asFloat) / (self width - handleMorph width)].
!
Item was changed:
----- Method: JoystickMorph>>setYRange (in category 'menu') -----
setYRange
| range |
range := UIManager default
request:
'Type the maximum value for the Y axis' translated
+ initialAnswer: ((yScale * (self width - handleMorph width) / 2.0) printShowingMaxDecimalPlaces: 2).
- initialAnswer: ((yScale * (self width - handleMorph width) / 2.0) roundTo: 0.01) printString.
range isEmpty ifFalse: [
yScale := (2.0 * range asNumber asFloat) / (self width - handleMorph width)].
!