Update makeReal.ts

pull/86/head
Steve Ruiz 3 years ago
parent 434822c804
commit e07ece6fc3

@ -31,8 +31,8 @@ export async function makeReal(editor: Editor, apiKey: string) {
})
// Add the grid lines to the SVG
const grid = { color: 'red', size: 100, labels: true }
addGridToSvg(svg, grid)
// const grid = { color: 'red', size: 100, labels: true }
// addGridToSvg(svg, grid)
if (!svg) throw Error(`Could not get the SVG.`)
@ -62,7 +62,7 @@ export async function makeReal(editor: Editor, apiKey: string) {
apiKey,
text: getSelectionAsText(editor),
previousPreviews,
grid,
// grid,
theme: editor.user.getUserPreferences().isDarkMode ? 'dark' : 'light',
})

Loading…
Cancel
Save