fixed issues

This commit is contained in:
Dante Ruiz 2017-01-07 00:06:42 +00:00
parent 32938861cd
commit cec2692c77

View file

@ -97,6 +97,7 @@ WebTablet = function (url, width, dpi, hand, clientOnly) {
this.homeButtonEntity = Entities.addEntity({
name: "homeButton",
type: "Sphere",
collisionless: true,
localPosition: {x: 0, y: HOME_BUTTON_Y_OFFSET, z: 0},
dimensions: {x: 0.05, y: 0.05, z: 0.05},
parentID: this.tabletEntityID,
@ -171,3 +172,8 @@ WebTablet.unpickle = function (string) {
tablet.__proto__ = WebTablet.prototype;
return tablet;
};
-WebTablet.prototype.getPosition = function () {
return Overlays.getProperty(this.webOverlayID, "position");
}