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 () => {
|
const handleStopSlideshow = async () => {
|
||||||
try {
|
try {
|
||||||
if (document.fullscreenElement) {
|
if (document.fullscreenElement) {
|
||||||
document.body.style.cursor = '';
|
|
||||||
await document.exitFullscreen();
|
await document.exitFullscreen();
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -85,6 +85,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
|
setCursorStyle('');
|
||||||
if (unsubscribeRestart) {
|
if (unsubscribeRestart) {
|
||||||
unsubscribeRestart();
|
unsubscribeRestart();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user