chore: improve wifi icons

This commit is contained in:
waterplea
2024-07-19 12:25:50 +05:00
parent fffc7f4098
commit 729a510c5b
14 changed files with 188 additions and 161 deletions

View File

@@ -44,10 +44,10 @@ export class LogsWindowComponent {
scroll = true
scrollTo(bottom: HTMLElement) {
if (this.scroll) bottom.scrollIntoView({ behavior: 'smooth' })
if (this.scroll) bottom.scrollIntoView()
}
onBottom([{ isIntersecting }]: readonly IntersectionObserverEntry[]) {
this.scroll = isIntersecting
onBottom(entries: readonly IntersectionObserverEntry[]) {
this.scroll = entries[entries.length - 1].isIntersecting
}
}