Ruler slow down when printing the value
Bug #1836732 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When showValue argument is true, the block returned by method bellow updates slowly.
DrGeoSketch>
It seems related to the message #rename:
mobile rename: ...
Same issue likely occurs with integer:
Changed in drgeo: | |
milestone: | 19.06 → 19.09 |
Changed in drgeo: | |
status: | In Progress → Fix Committed |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Modification as bellow, at the end improve a bit the performances:
^ isValueDisplay imalPlaces: 2 )).
ifTrue: [[|value |
value := mobile mathItem abscissa * ( endValue - startValue) + startValue.
mobile costume textMorph privateSetContents: (name, ' = ', (value printShowingDec
value]]
ifFalse: [[mobile mathItem abscissa * ( endValue - startValue) + startValue]]