fixed overlay not moving on resize in editModels.js

This commit is contained in:
Atlante45 2014-05-07 14:39:26 -07:00
parent 6308c39aab
commit 31aedb4aa8

View file

@ -370,7 +370,7 @@ function moveOverlays() {
toolsX = windowDimensions.x - 8 - toolWidth;
toolsY = (windowDimensions.y - toolsHeight) / 2;
Overlays.addOverlay(firstModel, {
Overlays.editOverlay(firstModel, {
x: toolsX, y: toolsY + ((toolHeight + toolVerticalSpacing) * 0), width: toolWidth, height: toolHeight,
});
}