Remove a comment
Upon closer thought, I don't know how to implement the idea reasonably.
This commit is contained in:
parent
8da5f807cf
commit
4317c7e581
|
@ -200,9 +200,6 @@ relayout(FivBrowser *self, int width)
|
||||||
gtk_style_context_get_padding(style, GTK_STATE_FLAG_NORMAL, &padding);
|
gtk_style_context_get_padding(style, GTK_STATE_FLAG_NORMAL, &padding);
|
||||||
int available_width = width - padding.left - padding.right, max_width = 0;
|
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);
|
g_array_set_size(self->layouted_rows, 0);
|
||||||
// Whatever self->drag_begin_* used to point at might no longer be there,
|
// Whatever self->drag_begin_* used to point at might no longer be there,
|
||||||
// but thumbnail reloading would disrupt mouse clicks if we cleared them.
|
// but thumbnail reloading would disrupt mouse clicks if we cleared them.
|
||||||
|
|
Loading…
Reference in New Issue