diff --git a/examples/editModels.js b/examples/editModels.js index 8e3503b9b2..ec9e67881b 100644 --- a/examples/editModels.js +++ b/examples/editModels.js @@ -1169,8 +1169,6 @@ var toolBar = (function () { menuItemHeight = Tool.IMAGE_HEIGHT / 2 - 2; loadURLMenuItem = Overlays.addOverlay("text", { - x: newModelButton.x - menuItemWidth, - y: newModelButton.y + menuItemOffset, height: menuItemHeight, backgroundColor: menuBackgroundColor, topMargin: menuItemMargin, @@ -1180,8 +1178,6 @@ var toolBar = (function () { }); loadFileMenuItem = Overlays.addOverlay("text", { - x: newModelButton.x - menuItemWidth, - y: newModelButton.y + menuItemOffset + menuItemHeight, height: menuItemHeight, backgroundColor: menuBackgroundColor, topMargin: menuItemMargin, diff --git a/examples/newEditEntities.js b/examples/newEditEntities.js index ef1be8fef9..9bbb07651c 100644 --- a/examples/newEditEntities.js +++ b/examples/newEditEntities.js @@ -140,8 +140,6 @@ var toolBar = (function () { menuItemHeight = Tool.IMAGE_HEIGHT / 2 - 2; loadURLMenuItem = Overlays.addOverlay("text", { - x: newModelButton.x - menuItemWidth, - y: newModelButton.y + menuItemOffset, height: menuItemHeight, backgroundColor: menuBackgroundColor, topMargin: menuItemMargin, @@ -151,8 +149,6 @@ var toolBar = (function () { }); loadFileMenuItem = Overlays.addOverlay("text", { - x: newModelButton.x - menuItemWidth, - y: newModelButton.y + menuItemOffset + menuItemHeight, height: menuItemHeight, backgroundColor: menuBackgroundColor, topMargin: menuItemMargin,