1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 05:15:54 +00:00
* Added: Setting to automatically accept content warnings when opening a stream.
* Added: Three settings to control the appearance of Hype Chat messages.
* Changed: Added a few keywords to settings entries in the `Data Management` category for better search support.
* Developer: The chat and pubsub logging utility can now inject pubsub messages for testing.
This commit is contained in:
SirStendec 2023-06-26 13:11:27 -04:00
parent eea9d51bdc
commit 7f109b4b48
11 changed files with 273 additions and 16 deletions

View file

@ -86,10 +86,10 @@ export default {
if ( ! this.item || ! this.item.tabs )
return [];
if ( ! this.context.matches_only )
//if ( ! this.context.matches_only )
return this.item.tabs;
return this.item.tabs.filter(tab => this.shouldShow(tab));
//return this.item.tabs.filter(tab => this.shouldShow(tab));
},
visibleContents() {
@ -189,6 +189,15 @@ export default {
},
select(idx) {
/*const selected = this.visibleTabs[idx];
if ( this.item.tabs[idx] !== selected )
for(let i = 0; i < this.item.tabs.length; i++) {
if ( selected === this.item.tabs[i] ) {
idx = i;
break;
}
}*/
this.selected = idx;
this.markSeen();
},