Update to tk 8.5.19
This commit is contained in:
@@ -223,7 +223,13 @@ proc ::tk::ScaleIncrement {w dir big repeat} {
|
||||
set inc [$w cget -resolution]
|
||||
}
|
||||
if {([$w cget -from] > [$w cget -to]) ^ ($dir eq "up")} {
|
||||
set inc [expr {-$inc}]
|
||||
if {$inc > 0} {
|
||||
set inc [expr {-$inc}]
|
||||
}
|
||||
} else {
|
||||
if {$inc < 0} {
|
||||
set inc [expr {-$inc}]
|
||||
}
|
||||
}
|
||||
$w set [expr {[$w get] + $inc}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user