mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Fix RTL workspace save.
This commit is contained in:
parent
ae69c3fbcf
commit
ca7b56b76c
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ goog.provide('Blockly.Xml');
|
|||
Blockly.Xml.workspaceToDom = function(workspace) {
|
||||
var width; // Not used in LTR.
|
||||
if (Blockly.RTL) {
|
||||
width = workarea.getWidth();
|
||||
width = workspace.getWidth();
|
||||
}
|
||||
var xml = goog.dom.createDom('xml');
|
||||
var blocks = workspace.getTopBlocks(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue