mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 06:29:30 +02:00
Reenable on/off button
This commit is contained in:
parent
4fbc7a5dcd
commit
09752589b8
1 changed files with 7 additions and 5 deletions
|
@ -120,10 +120,9 @@ var toolBar = (function () {
|
||||||
// Hide active button for now - this may come back, so not deleting yet.
|
// Hide active button for now - this may come back, so not deleting yet.
|
||||||
activeButton = toolBar.addTool({
|
activeButton = toolBar.addTool({
|
||||||
imageURL: toolIconUrl + "models-tool.svg",
|
imageURL: toolIconUrl + "models-tool.svg",
|
||||||
// subImage: { x: 0, y: Tool.IMAGE_WIDTH, width: Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
subImage: { x: 0, y: Tool.IMAGE_WIDTH, width: Tool.IMAGE_WIDTH, height: Tool.IMAGE_HEIGHT },
|
||||||
subImage: { x: 0, y: Tool.IMAGE_WIDTH, width: 0, height: 0 },
|
width: toolWidth,
|
||||||
width: 0,//toolWidth,
|
height: toolHeight,
|
||||||
height: 0,//toolHeight,
|
|
||||||
alpha: 0.9,
|
alpha: 0.9,
|
||||||
visible: true
|
visible: true
|
||||||
}, true, false);
|
}, true, false);
|
||||||
|
@ -235,7 +234,10 @@ var toolBar = (function () {
|
||||||
} else {
|
} else {
|
||||||
hasShownPropertiesTool = false;
|
hasShownPropertiesTool = false;
|
||||||
cameraManager.enable();
|
cameraManager.enable();
|
||||||
grid.setEnabled(true);
|
entityListTool.setVisible(true);
|
||||||
|
gridTool.setVisible(true);
|
||||||
|
propertiesTool.setVisible(true);
|
||||||
|
Window.setFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
toolBar.selectTool(activeButton, active);
|
toolBar.selectTool(activeButton, active);
|
||||||
|
|
Loading…
Reference in a new issue