Use bottom middle point as start position, since otherwise you might miss

2003-03-17  Alexander Larsson  <alexl@redhat.com>

	* libnautilus-private/nautilus-icon-container.c (record_arrow_key_start):
	Use bottom middle point as start position, since otherwise you might miss
	icons that are not as tall as half the height of the current one.
This commit is contained in:
Alexander Larsson 2003-03-17 16:17:30 +00:00 committed by Alexander Larsson
parent dd3eaca924
commit d1ff4587f6
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-03-17 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-icon-container.c (record_arrow_key_start):
Use bottom middle point as start position, since otherwise you might miss
icons that are not as tall as half the height of the current one.
2003-03-17 Alexander Larsson <alexl@redhat.com>
* src/nautilus-file-management-properties.c

View file

@ -2171,7 +2171,7 @@ record_arrow_key_start (NautilusIconContainer *container,
eel_canvas_w2c
(EEL_CANVAS (container),
(world_rect.x0 + world_rect.x1) / 2,
(world_rect.y0 + world_rect.y1) / 2,
world_rect.y1,
arrow_key_axis == AXIS_VERTICAL
? &container->details->arrow_key_start : NULL,
arrow_key_axis == AXIS_HORIZONTAL