Skip to content

Commit 95a928b

Browse files
authored
Attach canvas to body instead, fixing positioning bugs (#21)
1 parent 1361ad0 commit 95a928b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/annotator/sidebar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default class Sidebar extends Guest {
146146

147147
// Set up the canvases for displaying and creating doodles
148148
this.doodleCanvasController = new DoodleController(
149-
document.getElementById('main-content'),
149+
document.body,
150150
{
151151
tool: 'pen',
152152
size: 5,

0 commit comments

Comments
 (0)