mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(web): reset cursor style when slideshow bar unmounts (#27521)
This commit is contained in:
parent
9bcce59719
commit
564065a3ed
2 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,6 @@
|
|||
const handleStopSlideshow = async () => {
|
||||
try {
|
||||
if (document.fullscreenElement) {
|
||||
document.body.style.cursor = '';
|
||||
await document.exitFullscreen();
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -85,6 +85,7 @@
|
|||
});
|
||||
|
||||
onDestroy(() => {
|
||||
setCursorStyle('');
|
||||
if (unsubscribeRestart) {
|
||||
unsubscribeRestart();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue