Fix RTL workspace save.

This commit is contained in:
Neil Fraser 2015-01-11 12:14:27 -08:00
parent ae69c3fbcf
commit ca7b56b76c
2 changed files with 2 additions and 2 deletions

View file

@ -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);