Skip to content

Commit

Permalink
fix background image loader/unloader
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhattin committed Oct 28, 2024
1 parent 260ed16 commit 8654224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/main_page/image_tool/ImageTool.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
if (mounted && $scaling_factor) untrack(() => update_canvas_dimensions());
});
$effect(() => {
if (mounted) untrack(() => set_background_image_type($shaded_background_image_status));
if (mounted) set_background_image_type($shaded_background_image_status);
});
// $effect(() => {
Expand Down

0 comments on commit 8654224

Please sign in to comment.