mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Merge branch 'tkellen-display-none' into develop
# Conflicts: # src/dat/gui/GUI.js
This commit is contained in:
commit
8ae2c7cda9
@ -8440,8 +8440,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
GUI.toggleHide = function () {
|
||||
hide = !hide;
|
||||
_utilsCommon2['default'].each(hideableGuis, function (gui) {
|
||||
gui.domElement.style.zIndex = hide ? -999 : 999;
|
||||
gui.domElement.style.opacity = hide ? 0 : 1;
|
||||
gui.domElement.style.display = hide ? 'none' : '';
|
||||
});
|
||||
};
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
6
build/dat.gui.min.js
vendored
6
build/dat.gui.min.js
vendored
File diff suppressed because one or more lines are too long
@ -433,8 +433,7 @@ const GUI = function(pars) {
|
||||
GUI.toggleHide = function() {
|
||||
hide = !hide;
|
||||
common.each(hideableGuis, function(gui) {
|
||||
gui.domElement.style.zIndex = hide ? -999 : 999;
|
||||
gui.domElement.style.opacity = hide ? 0 : 1;
|
||||
gui.domElement.style.display = hide ? 'none' : '';
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user