[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dr. Geo] [Bug 1836732] Re: Ruler slow down when printing the value
From: |
hilaire |
Subject: |
[Dr. Geo] [Bug 1836732] Re: Ruler slow down when printing the value |
Date: |
Tue, 16 Jul 2019 12:00:31 -0000 |
Modification as bellow, at the end improve a bit the performances:
^ isValueDisplay
ifTrue: [[|value |
value := mobile mathItem abscissa * ( endValue - startValue) +
startValue.
mobile costume textMorph privateSetContents: (name, ' = ', (value
printShowingDecimalPlaces: 2 )).
value]]
ifFalse: [[mobile mathItem abscissa * ( endValue - startValue) + startValue]]
--
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1836732
Title:
Ruler slow down when printing the value
Status in Dr. Geo II:
New
Bug description:
When showValue argument is true, the block returned by method bellow
updates slowly.
DrGeoSketch>>float:at:from:to:name:showValue:
It seems related to the message #rename:
mobile rename: ...
Same issue likely occurs with integer:at:from:to:name:showValue: method.
To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1836732/+subscriptions