style: Restore the order of Scrollbarbutton appearance values.

The patch at bug 1478391 comment 6 changed the way the math in Scrollbarbutton*
worked, which pretty surely caused this.

Restore the original order and math to be the same as before bug 1478391.

Bug: 1479216
Reviewed-by: xidorn
MozReview-Commit-ID: CK3iOqeX2NW
This commit is contained in:
Emilio Cobos Álvarez 2018-07-29 00:36:09 +02:00
parent fc9df0bcf3
commit 5a7358b833
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -999,10 +999,10 @@ pub enum Appearance {
/// A scrollbar button (up/down/left/right).
/// Keep these in order (some code casts these values to `int` in order to
/// compare them against each other).
ScrollbarbuttonUp,
ScrollbarbuttonDown,
ScrollbarbuttonLeft,
ScrollbarbuttonRight,
ScrollbarbuttonUp,
/// The scrollbar thumb.
ScrollbarthumbHorizontal,
ScrollbarthumbVertical,