Skip to content

Commit

Permalink
Fix Toolbutton lag
Browse files Browse the repository at this point in the history
  • Loading branch information
Valer100 committed Aug 2, 2024
1 parent 6267a40 commit fdb4e98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sv_ttk/theme/dark.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace eval ttk::theme::sv_dark {
ttk::style configure Toolbutton -padding {8 2 8 3} -anchor center

ttk::style element create Toolbutton.button image \
[list $I(empty) \
[list $I(toolbutton) \
disabled $I(button-dis) \
pressed $I(button-pressed) \
{active focus} $I(button-focus-hover) \
Expand Down
2 changes: 1 addition & 1 deletion sv_ttk/theme/light.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace eval ttk::theme::sv_light {
ttk::style configure Toolbutton -padding {8 2 8 3} -anchor center

ttk::style element create Toolbutton.button image \
[list $I(empty) \
[list $I(toolbutton) \
disabled $I(button-dis) \
pressed $I(button-pressed) \
{active focus} $I(button-focus-hover) \
Expand Down
1 change: 1 addition & 0 deletions sv_ttk/theme/sprites_dark.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ set ::spriteinfo [list \
button-hover 162 0 20 20 \
button-pressed 162 20 20 20 \
button-rest 162 40 20 20 \
toolbutton 5 5 20 20 \
check-dis 162 60 20 20 \
check-focus-hover 150 96 20 20 \
check-focus 152 116 20 20 \
Expand Down
1 change: 1 addition & 0 deletions sv_ttk/theme/sprites_light.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ set ::spriteinfo [list \
button-hover 162 0 20 20 \
button-pressed 162 20 20 20 \
button-rest 162 40 20 20 \
toolbutton 5 5 20 20 \
check-dis 162 60 20 20 \
check-focus-hover 150 96 20 20 \
check-focus 152 116 20 20 \
Expand Down

0 comments on commit fdb4e98

Please sign in to comment.