Slight tweak to scrollbar thumb painting to paint as prelight as you are dragging. Not part of the build.

git-svn-id: svn://10.0.0.236/trunk@114450 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com
2002-02-14 00:13:10 +00:00
parent 4541c66d72
commit 5ad5f00454

View File

@@ -193,7 +193,7 @@ moz_gtk_scrollbar_thumb_paint(GdkWindow* window, GtkStyle* style,
GdkRectangle* rect, GdkRectangle* cliprect,
GtkWidgetState* state)
{
GtkStateType state_type = state->inHover ? GTK_STATE_PRELIGHT : GTK_STATE_NORMAL;
GtkStateType state_type = (state->inHover || state->active) ? GTK_STATE_PRELIGHT : GTK_STATE_NORMAL;
gtk_paint_box(style, window, state_type, GTK_SHADOW_OUT, cliprect,
gScrollbarWidget, "slider", rect->x, rect->y, rect->width,
rect->height);