branch update

This commit is contained in:
Dante Ruiz 2017-01-12 20:51:25 +00:00
parent a16b229c65
commit 71083645e9
2 changed files with 8 additions and 6 deletions

View file

@ -102,7 +102,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly) {
type: "Model",
modelURL: HOME_BUTTON_URL,
collisionless: true,
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: 0},
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: -0.01},
parentID: this.tabletEntityID,
script: Script.resolvePath("../tablet-ui/HomeButton.js")
}, clientOnly);

View file

@ -60,8 +60,11 @@ var persistenceKey = "io.highfidelity.lastDomainTablet";
function showMarketplace() {
tablet.gotoWebScreen(MARKETPLACE_URL_INITIAL);
tablet.setScriptURL(MARKETPLACES_INJECT_SCRIPT_URL);
tablet.webEventRecieved(function (message) {
UserActivityLogger.openedMarketplace();
// FIXME - the code to support the following is not yet implented
/*tablet.setScriptURL(MARKETPLACES_INJECT_SCRIPT_URL);
tablet.webEventRecieved.connect(function (message) {
if (message === GOTO_DIRECTORY) {
tablet.gotoWebScreen(MATKETPLACES_URL);
}
@ -74,8 +77,7 @@ function showMarketplace() {
Window.alert(NO_PERMISSIONS_ERROR_MESSAGE);
}
});
UserActivityLogger.openedMarketplace();
});*/
}
function toggleMarketplace() {
@ -86,7 +88,7 @@ var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
var browseExamplesButton = tablet.addButton({
icon: "icons/tablet-icons/market-i.svg",
text: "MARKETPLACE"
text: "MARKET"
});
function onCanWriteAssetsChanged() {