mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Simplify workspace options by removing svg property.
This commit is contained in:
@@ -318,7 +318,7 @@ Blockly.getSvgXY_ = function(element, workspace) {
|
||||
x += xy.x * scale;
|
||||
y += xy.y * scale;
|
||||
element = element.parentNode;
|
||||
} while (element && element != workspace.options.svg);
|
||||
} while (element && element != workspace.getParentSvg());
|
||||
return new goog.math.Coordinate(x, y);
|
||||
};
|
||||
|
||||
@@ -591,4 +591,3 @@ Blockly.genUid.crypto_ = this.crypto;
|
||||
*/
|
||||
Blockly.genUid.soup_ = '!#$%()*+,-./:;=?@[]^_`{|}~' +
|
||||
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user