Skip to content

Commit

Permalink
Remove unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
culler committed Dec 13, 2023
2 parents e5911fc + 9dd438c commit fa3839b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/scrlbar.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,11 @@ proc ::tk::ScrollbarScrollByPixels {w orient amount} {
if {$xyview eq "xview"} {
return
}
set size [winfo height $w]
}
if {$orient eq "h"} {
if {$xyview eq "yview"} {
return
}
set size [winfo width $w]
}

# The code below works with both the current and old syntax for
Expand Down

0 comments on commit fa3839b

Please sign in to comment.