refactor(web): rename intersecting/actuallyIntersecting to nearby/intersecting

Change-Id: Id6f63247441fe290e7732e489f73e8c16a6a6964
This commit is contained in:
midzelis
2026-03-14 14:08:41 +00:00
parent be3cdd3fa4
commit 379678dbf3
12 changed files with 170 additions and 113 deletions

View File

@@ -18,7 +18,7 @@ export class DayGroup {
height = $state(0);
width = $state(0);
intersecting = $derived.by(() => this.viewerAssets.some((viewAsset) => viewAsset.intersecting));
renderable = $derived.by(() => this.viewerAssets.some((viewAsset) => viewAsset.renderable));
#top: number = $state(0);
#start: number = $state(0);
@@ -137,7 +137,7 @@ export class DayGroup {
}
layout(options: CommonLayoutOptions, noDefer: boolean) {
if (!noDefer && !this.monthGroup.intersecting && !this.monthGroup.timelineManager.isScrollingOnLoad) {
if (!noDefer && !this.monthGroup.renderable && !this.monthGroup.timelineManager.isScrollingOnLoad) {
this.#deferredLayout = true;
return;
}