mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-15 12:45:50 +02:00
executeQueue after visible
This commit is contained in:
@@ -429,6 +429,12 @@ onDeactivated(() => {
|
||||
active.value = false;
|
||||
});
|
||||
|
||||
watch(visibility, () => {
|
||||
if (active.value && visibility.value === 'visible') {
|
||||
executeQueue();
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* 最新のものとして1つだけアイテムを追加する
|
||||
* ストリーミングから降ってきたアイテムはこれで追加する
|
||||
|
||||
Reference in New Issue
Block a user