Skip to content

Commit

Permalink
change from on:mousewheel to on:wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
Ell1ott committed Feb 19, 2024
1 parent 5e85166 commit e2a10f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/workspace/editor/FileEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// });
</script>

<div class="editor_wrapper" style:display={$editor ? null : 'none'} on:mousewheel={onScroll}>
<div class="editor_wrapper" style:display={$editor ? null : 'none'} on:wheel={onScroll}>
<div id="pages" style:scale>
<div class="page">
<Tiptap />
Expand Down

0 comments on commit e2a10f0

Please sign in to comment.