forked from AuroraMiddleware/gtk
range: Remove unnecessary queue_draw calls
This commit is contained in:
parent
c200758c26
commit
8a38f62915
@ -1954,8 +1954,6 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
|
||||
|
||||
update_initial_slider_position (range, x, y, &slider_alloc);
|
||||
range_grab_add (range, priv->slider_widget);
|
||||
|
||||
gtk_widget_queue_draw (widget);
|
||||
}
|
||||
else if (priv->mouse_location == priv->trough_widget &&
|
||||
(source == GDK_SOURCE_TOUCHSCREEN ||
|
||||
@ -1985,8 +1983,6 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture,
|
||||
|
||||
range_grab_add (range, priv->slider_widget);
|
||||
|
||||
gtk_widget_queue_draw (widget);
|
||||
|
||||
update_slider_position (range, x, y);
|
||||
}
|
||||
else if (priv->mouse_location == priv->trough_widget &&
|
||||
|
Loading…
Reference in New Issue
Block a user