From 4ee99ef38a69298a819ccf14b51c779aa88272af Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 6 Dec 2014 11:03:28 -0800 Subject: [PATCH] Remove dead code that's causing problems --- examples/editModels.js | 4 ---- examples/newEditEntities.js | 4 ---- 2 files changed, 8 deletions(-) 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,