display none/block for hiding

This commit is contained in:
Tyler Kellen 2014-06-19 16:01:07 -04:00
parent 586c0607b5
commit 7df4cea83d

View File

@ -464,8 +464,7 @@ define([
hide = !hide;
common.each(hideable_guis, function(gui) {
gui.domElement.style.zIndex = hide ? -999 : 999;
gui.domElement.style.opacity = hide ? 0 : 1;
gui.domElement.style.display = hide ? 'none' : 'fixed';
});
};