Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Monaco/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,14 @@
// Render scrollbar automatically
vertical: 'auto',
horizontal: 'auto',

// Allow scrolling on both axes simultaneously (fixes trackpad scrolling issue)
scrollPredominantAxis: false,
},
stickyScroll: { enabled: stickyScroll },
fontSize: fontSize,
wordWrap: (wrap ? 'on' : 'off') // Word wraps
wordWrap: (wrap ? 'on' : 'off'), // Word wraps
mouseWheelScrollSensitivity: 1 // Standard scrolling sensitivity
});
window.onresize = () => {
editor.layout();
Expand Down