From 4317c7e581415078c876ad5699d41cbea3c89cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 13 Apr 2023 13:04:10 +0200 Subject: Remove a comment Upon closer thought, I don't know how to implement the idea reasonably. --- fiv-browser.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fiv-browser.c b/fiv-browser.c index f895a20..87488f7 100644 --- a/fiv-browser.c +++ b/fiv-browser.c @@ -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. -- cgit v1.2.3