Show the accent, not words, past the last item when swiping
Asked for: swiping on from the last item in the reader showed "No more items" in faint text beside it; the pane is now the theme's accent colour and says nothing, the colour saying it is the end. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -95,7 +95,7 @@ document.addEventListener('touchmove', ev => {
|
||||
}, {passive: false});
|
||||
|
||||
/// On a phone, what lies beside the reader while it is dragged by dx: the item it will move on
|
||||
/// to, a note that there are no more, or, going back to the list, a dimmer over the list. The
|
||||
/// to, the accent past the last one, or, going back to the list, a dimmer over the list. The
|
||||
/// reader sits over the list there, and moving it alone showed the list through the gap it left
|
||||
/// (issue #52). Kept outside #content, which every feed render rebuilds, and inert, since its
|
||||
/// copy of the reader's markup repeats the reader's ids.
|
||||
@@ -109,7 +109,7 @@ function beside(dx: number){
|
||||
}
|
||||
if(p.dataset.key !== kind + (e?.guid || '')){
|
||||
p.dataset.key = kind + (e?.guid || ''); p.className = kind;
|
||||
p.innerHTML = e ? `<div>${detailHtml(e)}</div>` : kind === 'end' ? '<p>No more items</p>' : '';
|
||||
p.innerHTML = e ? `<div>${detailHtml(e)}</div>` : '';
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user