diff options
author | John Ankarström <john@ankarstrom.se> | 2022-02-16 16:56:28 +0100 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-02-16 16:56:28 +0100 |
commit | 7086bfe3e7bf04dd61f16216c659fc5534c2796a (patch) | |
tree | 90b5a4327a7815b758f29241a76b70efeea0bfd2 /c/main.c | |
parent | 8e70cba63a8109bc663f06c9e8b79a241a968bcc (diff) | |
download | EpisodeBrowser-7086bfe3e7bf04dd61f16216c659fc5534c2796a.tar.gz |
Make refresh smoother.
Diffstat (limited to 'c/main.c')
-rw-r--r-- | c/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -160,6 +160,9 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) PL_call_predicate(NULL, PL_Q_NORMAL, PL_predicate("forget_episode", 1, "track_episodes"), t); + PL_call_predicate(NULL, PL_Q_NORMAL, + PL_predicate("update_tracked_episodes", + 0, "track_episodes"), t); ListView_RedrawItems(hElv, g_iSelectedItem, g_iSelectedItem); break; @@ -290,5 +293,5 @@ UpdateLayout(HWND hWnd) ListView_SetColumnWidth(hElv, 1, rc.right-cxColumn-cxVScroll-4); - ListView_EnsureVisible(hElv, g_iSelectedItem, TRUE); + //ListView_EnsureVisible(hElv, g_iSelectedItem, TRUE); } |