diff --git a/package.json b/package.json index 6e6417912b..f925ce25f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "12.118.1-calc.8.2", + "version": "12.118.1-calc.9", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/ui/universal.vue b/packages/client/src/ui/universal.vue index 2d80907c4f..c658752668 100644 --- a/packages/client/src/ui/universal.vue +++ b/packages/client/src/ui/universal.vue @@ -23,9 +23,10 @@ - + +
{ document.documentElement.style.overflowY = 'scroll'; +let timer = -1; +const postButton = document.getElementById('postButton'); +window.addEventListener('scroll', () => { + if (timer !== -1) { + if (postButton != null) { + postButton.style.animation = 'shrink 0.5s linear 1'; + } + clearTimeout(timer); + } + timer = setTimeout(() => { + if (postButton != null) { + postButton.style.animation = 'grow 0.5s linear 1'; + } + }, 150); +}, false); + if (defaultStore.state.widgets.length === 0) { defaultStore.set('widgets', [{ name: 'calendar', @@ -175,6 +192,24 @@ const wallpaper = localStorage.getItem('wallpaper') != null;