Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
CanvasCraft authored Jun 28, 2024
1 parent 10f1336 commit 5d53e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ function applyInfoToShapePanel(div, update = false) {
codeTextarea.onmouseover = () => helpChange('codeTextarea')
const change = () => {
// Syntax highlight
codePre.innerHTML = syntaxHighlightJavaScriptCode(codeTextarea.value)
codePre.innerHTML = syntaxHighlightJavaScriptCode(codeTextarea.value + '\n')

// Set background code
div.shape.remixes[div.shape.activeRemix].code = codeTextarea.value
Expand Down

0 comments on commit 5d53e62

Please sign in to comment.