mirror of
https://github.com/google/blockly.git
synced 2026-01-30 12:10:12 +01:00
Restore scrollbars on Block Factory preview.
This commit is contained in:
@@ -401,7 +401,9 @@ function updatePreview() {
|
||||
}
|
||||
var rtl = newDir == 'rtl';
|
||||
previewWorkspace = Blockly.inject('preview',
|
||||
{rtl: rtl, media: '../../media/'});
|
||||
{rtl: rtl,
|
||||
media: '../../media/',
|
||||
scrollbars: true});
|
||||
oldDir = newDir;
|
||||
}
|
||||
var code = document.getElementById('languagePre').textContent;
|
||||
|
||||
Reference in New Issue
Block a user