Remove a comment

Upon closer thought, I don't know how to implement the idea reasonably.
This commit is contained in:
Přemysl Eric Janouch 2023-04-13 13:04:10 +02:00
parent 8da5f807cf
commit 4317c7e581
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -200,9 +200,6 @@ relayout(FivBrowser *self, int width)
gtk_style_context_get_padding(style, GTK_STATE_FLAG_NORMAL, &padding);
int available_width = width - padding.left - padding.right, max_width = 0;
// TODO(p): Remember the first visible item and the vertical offset into it,
// then try to ensure its visibility at the end (useful for reloads).
g_array_set_size(self->layouted_rows, 0);
// Whatever self->drag_begin_* used to point at might no longer be there,
// but thumbnail reloading would disrupt mouse clicks if we cleared them.