+ [task#128767] add comments for renderRegionTitles function.
This commit is contained in:
@@ -500,6 +500,14 @@ window.drawRegionTitle = function(canvas, region, colorIndex, blocks)
|
||||
canvas.parentNode.appendChild($title);
|
||||
}
|
||||
|
||||
/**
|
||||
* 渲染区域标题。
|
||||
* Render region titles.
|
||||
*
|
||||
* @param array regions
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function renderRegionTitles(regions)
|
||||
{
|
||||
const model = $('.model-canvas').data('model');
|
||||
|
||||
Reference in New Issue
Block a user