in src/dep/showDebugDirtyRect.js [2:17]
function DebugRect(style) {
const dom = (this.dom = document.createElement('div'));
dom.className = 'ec-debug-dirty-rect';
style = Object.assign({}, style);
Object.assign(style, {
backgroundColor: 'rgba(0, 0, 255, 0.2)',
border: '1px solid #00f'
});
dom.style.cssText =
'position:absolute;opacity:0;transition:opacity 0.5s linear;pointer-events:none;';
for (const key in style) {
if (style.hasOwnProperty(key)) {
dom.style[key] = style[key];
}
}
}