diff --git a/src/renderer/ui/ui-window-content.js b/src/renderer/ui/ui-window-content.js index fc4df80..71da03c 100644 --- a/src/renderer/ui/ui-window-content.js +++ b/src/renderer/ui/ui-window-content.js @@ -150,6 +150,7 @@ export default class UIWindowContent extends HTMLElement { for (const element of this.cards) { for (const card of element.cards) { if (macaco.collection.diff.includes(card.fsurl)) { + this.scrollTop = element.offsetTop - element.offsetHeight element.classList.add('recent') } }