mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 00:07:31 +02:00
cleanups
This commit is contained in:
parent
78092e1ae6
commit
88e74251a1
1 changed files with 4 additions and 3 deletions
|
@ -75,8 +75,9 @@
|
||||||
function showTabletUI() {
|
function showTabletUI() {
|
||||||
tabletShown = true;
|
tabletShown = true;
|
||||||
|
|
||||||
if (!tabletRezzed) {
|
if (!tabletRezzed || !tabletIsValid()) {
|
||||||
rezTablet(false);
|
closeTabletUI()
|
||||||
|
rezTablet();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (UIWebTablet && tabletRezzed) {
|
if (UIWebTablet && tabletRezzed) {
|
||||||
|
@ -199,7 +200,7 @@
|
||||||
preMakeTime = now;
|
preMakeTime = now;
|
||||||
if (!tabletIsValid()) {
|
if (!tabletIsValid()) {
|
||||||
closeTabletUI();
|
closeTabletUI();
|
||||||
rezTablet(false);
|
rezTablet();
|
||||||
tabletShown = false;
|
tabletShown = false;
|
||||||
} else if (!tabletShown) {
|
} else if (!tabletShown) {
|
||||||
hideTabletUI();
|
hideTabletUI();
|
||||||
|
|
Loading…
Reference in a new issue