From 31aedb4aa8779dda51714c6a856bb8a10a448ec1 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Wed, 7 May 2014 14:39:26 -0700 Subject: [PATCH] fixed overlay not moving on resize in editModels.js --- examples/editModels.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/editModels.js b/examples/editModels.js index ecf398edfa..384d2f75a8 100644 --- a/examples/editModels.js +++ b/examples/editModels.js @@ -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, }); }