add custom solution for virtual scrolling to ease ram and cpu use when scrolling for a long time

This commit is contained in:
Shpuld Shpuldson 2020-01-15 15:17:05 +02:00
commit 9eae4d07c1
5 changed files with 57 additions and 9 deletions

View file

@ -34,7 +34,8 @@ const Status = {
'inlineExpanded',
'showPinned',
'inProfile',
'profileUserId'
'profileUserId',
'hidden'
],
data () {
return {
@ -121,7 +122,7 @@ const Status = {
return this.mergedConfig.hideFilteredStatuses
},
hideStatus () {
return (this.hideReply || this.deleted) || (this.muted && this.hideFilteredStatuses)
return (this.hideReply || this.deleted) || (this.muted && this.hideFilteredStatuses) || this.hidden
},
isFocused () {
// retweet or root of an expanded conversation