mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
display none/block for hiding
This commit is contained in:
parent
586c0607b5
commit
7df4cea83d
@ -464,8 +464,7 @@ define([
|
|||||||
|
|
||||||
hide = !hide;
|
hide = !hide;
|
||||||
common.each(hideable_guis, function(gui) {
|
common.each(hideable_guis, function(gui) {
|
||||||
gui.domElement.style.zIndex = hide ? -999 : 999;
|
gui.domElement.style.display = hide ? 'none' : 'fixed';
|
||||||
gui.domElement.style.opacity = hide ? 0 : 1;
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user