File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1548,13 +1548,8 @@ export class BlockSvg
15481548 /**
15491549 * Immediately lays out and reflows a block based on its contents and
15501550 * settings.
1551- *
1552- * @deprecated Renders are triggered automatically when the block is modified
1553- * (e.g. fields are modified or inputs are added). Any calls to render()
1554- * are no longer necessary. To be removed in v11.
15551551 */
15561552 render ( ) {
1557- deprecation . warn ( 'Blockly.BlockSvg.prototype.render' , 'v10' , 'v11' ) ;
15581553 this . queueRender ( ) ;
15591554 renderManagement . triggerQueuedRenders ( ) ;
15601555 }
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ import * as Xml from './xml.js';
7878import { ZoomControls } from './zoom_controls.js' ;
7979import { ContextMenuOption } from './contextmenu_registry.js' ;
8080import * as renderManagement from './render_management.js' ;
81- import * as deprecation from './utils/deprecation.js' ;
8281
8382/** Margin around the top/bottom/left/right after a zoomToFit call. */
8483const ZOOM_TO_FIT_MARGIN = 20 ;
@@ -1232,13 +1231,8 @@ export class WorkspaceSvg extends Workspace implements IASTNodeLocationSvg {
12321231
12331232 /**
12341233 * Render all blocks in workspace.
1235- *
1236- * @deprecated Renders are triggered automatically when the block is modified
1237- * (e.g. fields are modified or inputs are added). Any calls to render()
1238- * are no longer necessary. To be removed in v11.
12391234 */
12401235 render ( ) {
1241- deprecation . warn ( 'Blockly.WorkspaceSvg.prototype.render' , 'v10' , 'v11' ) ;
12421236 // Generate list of all blocks.
12431237 const blocks = this . getAllBlocks ( false ) ;
12441238 // Render each block.
You can’t perform that action at this time.
0 commit comments