mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
fixed overlay not moving on resize in editModels.js
This commit is contained in:
parent
6308c39aab
commit
31aedb4aa8
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ function moveOverlays() {
|
||||||
toolsX = windowDimensions.x - 8 - toolWidth;
|
toolsX = windowDimensions.x - 8 - toolWidth;
|
||||||
toolsY = (windowDimensions.y - toolsHeight) / 2;
|
toolsY = (windowDimensions.y - toolsHeight) / 2;
|
||||||
|
|
||||||
Overlays.addOverlay(firstModel, {
|
Overlays.editOverlay(firstModel, {
|
||||||
x: toolsX, y: toolsY + ((toolHeight + toolVerticalSpacing) * 0), width: toolWidth, height: toolHeight,
|
x: toolsX, y: toolsY + ((toolHeight + toolVerticalSpacing) * 0), width: toolWidth, height: toolHeight,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue