mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Remove unused nightMode from ImageHandle
This commit is contained in:
parent
73d56df610
commit
40c62c8c41
1 changed files with 1 additions and 4 deletions
|
@ -8,8 +8,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
import ImageHandleFloat from "./ImageHandleFloat.svelte";
|
||||
import ImageHandleSizeSelect from "./ImageHandleSizeSelect.svelte";
|
||||
|
||||
import { onDestroy, getContext, tick } from "svelte";
|
||||
import { nightModeKey } from "components/context-keys";
|
||||
import { onDestroy, tick } from "svelte";
|
||||
|
||||
export let container: HTMLElement;
|
||||
export let sheet: CSSStyleSheet;
|
||||
|
@ -186,8 +185,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
sizeSelect.toggleActualSize();
|
||||
}
|
||||
|
||||
const nightMode = getContext(nightModeKey);
|
||||
|
||||
onDestroy(() => resizeObserver.disconnect());
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue