mirror of https://github.com/GNOME/gimp.git
Issue #7843: Middle clicking while manipulating canvas with spacebar…
… causes failed assertion.
This commit is contained in:
parent
2748dfe83c
commit
7ca324fb2d
|
@ -700,7 +700,10 @@ gimp_display_shell_canvas_tool_events (GtkWidget *canvas,
|
|||
}
|
||||
else if (bevent->button == 2)
|
||||
{
|
||||
if (shell->scrolling)
|
||||
if (shell->scrolling &&
|
||||
! shell->button1_release_pending &&
|
||||
(! shell->space_release_pending ||
|
||||
shell->display->config->space_bar_action != GIMP_SPACE_BAR_ACTION_PAN))
|
||||
gimp_display_shell_stop_scrolling (shell, event);
|
||||
}
|
||||
else if (bevent->button == 3)
|
||||
|
|
Loading…
Reference in New Issue