mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(web): reset cursor style when slideshow bar unmounts (#27521)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user