Import Tk 8.6.11
This commit is contained in:
@@ -658,13 +658,11 @@ ConfigureScale(
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Several options need special processing, such as parsing the
|
||||
* orientation and creating GCs.
|
||||
*/
|
||||
/*
|
||||
* The fromValue shall not be rounded to the resolution, but the
|
||||
* toValue and tickInterval do.
|
||||
*/
|
||||
|
||||
scalePtr->fromValue = TkRoundValueToResolution(scalePtr,
|
||||
scalePtr->fromValue);
|
||||
scalePtr->toValue = TkRoundValueToResolution(scalePtr, scalePtr->toValue);
|
||||
scalePtr->tickInterval = TkRoundIntervalToResolution(scalePtr,
|
||||
scalePtr->tickInterval);
|
||||
|
||||
Reference in New Issue
Block a user