[etoys-notify] [JIRA] Commented: (SQ-946) Using Arrows to decrease from 0.01 displays epsilon instead of 0.00 in scripting tiles
Karl Ramberg (JIRA)
tracker at squeakland.org
Mon Jun 13 12:49:08 EDT 2011
[ http://tracker.squeakland.org/browse/SQ-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39872#action_39872 ]
Karl Ramberg commented on SQ-946:
---------------------------------
I confirm this bug. Not sure of a nice fix.
I tested the fix below, but it's kind of ugly...
TileMorph>>arrowAction:delta
...
(type == #literal
and: [literal isNumber])
ifTrue: [self value: literal + delta.
(literal closeTo:0.0) ifTrue:[ self value: 0.0]]
...
> Using Arrows to decrease from 0.01 displays epsilon instead of 0.00 in scripting tiles
> --------------------------------------------------------------------------------------
>
> Key: SQ-946
> URL: http://tracker.squeakland.org/browse/SQ-946
> Project: squeakland
> Issue Type: Bug
> Components: etoys
> Reporter: Stephen Thomas
>
> Tried with x, variables and scale factor.
> If I do the same thing in the viewer 0 is displayed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the etoys-notify
mailing list