mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
chore: merge develop into rc/v11
This commit is contained in:
@@ -87,8 +87,8 @@ export function getInjectionDivXY(element: Element): Coordinate {
|
||||
let y = 0;
|
||||
while (element) {
|
||||
const xy = getRelativeXY(element);
|
||||
x = x + xy.x;
|
||||
y = y + xy.y;
|
||||
x += xy.x;
|
||||
y += xy.y;
|
||||
const classes = element.getAttribute('class') || '';
|
||||
if ((' ' + classes + ' ').includes(' injectionDiv ')) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user