Skip to content

Commit

Permalink
Fix slider glitch on clever skins
Browse files Browse the repository at this point in the history
Some skins took advantage of the fact that they could make the bmp files
smaller to make certain elements transparent. This fixes allows that trick to
work for the volume and balance sliders.

Fixes #64
  • Loading branch information
captbaritone committed Nov 16, 2014
1 parent aa7c55f commit 0e79f55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions winamp.css
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ a:focus { outline: none; }
/* background-image: VOLUME.BMP via Javascript */
background-position: -15px -422px;
cursor:url('cursors/VOLBAR.CUR'), auto;
background-repeat: no-repeat;
}
#volume::-moz-range-thumb {
margin-top: 1px;
Expand All @@ -311,6 +312,7 @@ a:focus { outline: none; }
/* background-image: VOLUME.BMP via Javascript */
background-position: -15px -422px;
cursor:url('cursors/VOLBAR.CUR'), auto;
background-repeat: no-repeat;
}
#volume:active::-webkit-slider-thumb {
background-position: 0 -422px;
Expand All @@ -336,6 +338,7 @@ a:focus { outline: none; }
/* background-image: VOLUME.BMP via Javascript */
background-position: -15px -422px;
cursor:url('cursors/POSBAR.CUR'), auto;
background-repeat: no-repeat;
}
#balance::-moz-range-thumb {
top: 1px;
Expand All @@ -344,6 +347,7 @@ a:focus { outline: none; }
/* background-image: VOLUME.BMP via Javascript */
background-position: -15px -422px;
cursor:url('cursors/POSBAR.CUR'), auto;
background-position: no-repeat;
}

#balance:active::-webkit-slider-thumb {
Expand Down

0 comments on commit 0e79f55

Please sign in to comment.