Commit 3acf8628 authored by Neil Fraser's avatar Neil Fraser

Restore scrollbars on Block Factory preview.

parent b063c56c
...@@ -401,7 +401,9 @@ function updatePreview() { ...@@ -401,7 +401,9 @@ function updatePreview() {
} }
var rtl = newDir == 'rtl'; var rtl = newDir == 'rtl';
previewWorkspace = Blockly.inject('preview', previewWorkspace = Blockly.inject('preview',
{rtl: rtl, media: '../../media/'}); {rtl: rtl,
media: '../../media/',
scrollbars: true});
oldDir = newDir; oldDir = newDir;
} }
var code = document.getElementById('languagePre').textContent; var code = document.getElementById('languagePre').textContent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment