diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-03-03 17:46:38 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-03 08:46:38 +0000 |
| commit | 01a3eabc4e1deb00b29398777d453d5b3583583b (patch) | |
| tree | a6c78c2cf2ed97ff4aa086b6aef3351881825497 /packages/frontend/src/scripts | |
| parent | fix(frontend): 照会処理を統一 (#15536) (diff) | |
| download | sharkey-01a3eabc4e1deb00b29398777d453d5b3583583b.tar.gz sharkey-01a3eabc4e1deb00b29398777d453d5b3583583b.tar.bz2 sharkey-01a3eabc4e1deb00b29398777d453d5b3583583b.zip | |
enhance(frontend): アニメーション設定で画面上のエフェクトも考慮するように (#15576)
* enhance(frontend): アニメーション設定で画面上のエフェクトも考慮するように
* Update Changelog
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 4b7dc426f2..de7ed15675 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -550,7 +550,7 @@ export function getRenoteMenu(props: { icon: 'ti ti-repeat', action: () => { const el = props.renoteButton.value; - if (el) { + if (el && defaultStore.state.animation) { const rect = el.getBoundingClientRect(); const x = rect.left + (el.offsetWidth / 2); const y = rect.top + (el.offsetHeight / 2); @@ -588,7 +588,7 @@ export function getRenoteMenu(props: { icon: 'ti ti-repeat', action: () => { const el = props.renoteButton.value; - if (el) { + if (el && defaultStore.state.animation) { const rect = el.getBoundingClientRect(); const x = rect.left + (el.offsetWidth / 2); const y = rect.top + (el.offsetHeight / 2); @@ -639,7 +639,7 @@ export function getRenoteMenu(props: { text: channel.name, action: () => { const el = props.renoteButton.value; - if (el) { + if (el && defaultStore.state.animation) { const rect = el.getBoundingClientRect(); const x = rect.left + (el.offsetWidth / 2); const y = rect.top + (el.offsetHeight / 2); |