Fix scroll_offset handling
scroll_offset can be negative here, so replace a > 0 test by != 0.
This commit is contained in:
@@ -4807,7 +4807,7 @@ gtk_menu_position (GtkMenu *menu,
|
||||
priv->position_y = y;
|
||||
}
|
||||
|
||||
if (scroll_offset > 0)
|
||||
if (scroll_offset != 0)
|
||||
{
|
||||
GtkBorder arrow_border;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user