mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
commit
97e5e12d13
1 changed files with 10 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue