forked from AuroraMiddleware/gtk
range: No need to update mouse location when starting a drag
The mouse position doesn't change here. Plus, all callers have just updated it anyway.
This commit is contained in:
parent
87c564ecf3
commit
4b92654b29
@ -2253,9 +2253,6 @@ range_grab_add (GtkRange *range,
|
||||
*/
|
||||
priv->grab_location = location;
|
||||
|
||||
if (gtk_range_update_mouse_location (range))
|
||||
gtk_widget_queue_draw (GTK_WIDGET (range));
|
||||
|
||||
gtk_style_context_add_class (context, "dragging");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user