mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
@@ -150,16 +150,16 @@ Blockly.WorkspaceSvg.prototype.scrollbar = null;
|
||||
* @return {!Element} The workspace's SVG group.
|
||||
*/
|
||||
Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
|
||||
/*
|
||||
<g class="blocklyWorkspace">
|
||||
<rect class="blocklyMainBackground" height="100%" width="100%"></rect>
|
||||
[Trashcan and/or flyout may go here]
|
||||
<g class="blocklyBlockCanvas"></g>
|
||||
<g class="blocklyBubbleCanvas"></g>
|
||||
[Scrollbars may go here]
|
||||
</g>
|
||||
@type {SVGElement}
|
||||
*/
|
||||
/**
|
||||
* <g class="blocklyWorkspace">
|
||||
* <rect class="blocklyMainBackground" height="100%" width="100%"></rect>
|
||||
* [Trashcan and/or flyout may go here]
|
||||
* <g class="blocklyBlockCanvas"></g>
|
||||
* <g class="blocklyBubbleCanvas"></g>
|
||||
* [Scrollbars may go here]
|
||||
* </g>
|
||||
* @type {SVGElement}
|
||||
*/
|
||||
this.svgGroup_ = Blockly.createSvgElement('g',
|
||||
{'class': 'blocklyWorkspace'}, null);
|
||||
if (opt_backgroundClass) {
|
||||
|
||||
Reference in New Issue
Block a user