mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
0.7.3
This commit is contained in:
parent
df80c663f8
commit
a1547d0f21
@ -1725,6 +1725,7 @@ var GUI = function GUI(pars) {
|
||||
}
|
||||
var useLocalStorage = SUPPORTS_LOCAL_STORAGE && localStorage.getItem(getLocalStorageHash(this, 'isLocal')) === 'true';
|
||||
var saveToLocalStorage = void 0;
|
||||
var titleRow = void 0;
|
||||
Object.defineProperties(this,
|
||||
{
|
||||
parent: {
|
||||
@ -1779,8 +1780,8 @@ var GUI = function GUI(pars) {
|
||||
},
|
||||
set: function set$$1(v) {
|
||||
params.name = v;
|
||||
if (titleRowName) {
|
||||
titleRowName.innerHTML = params.name;
|
||||
if (titleRow) {
|
||||
titleRow.innerHTML = params.name;
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -1853,9 +1854,9 @@ var GUI = function GUI(pars) {
|
||||
if (params.closed === undefined) {
|
||||
params.closed = true;
|
||||
}
|
||||
var _titleRowName = document.createTextNode(params.name);
|
||||
dom.addClass(_titleRowName, 'controller-name');
|
||||
var titleRow = addRow(_this, _titleRowName);
|
||||
var titleRowName = document.createTextNode(params.name);
|
||||
dom.addClass(titleRowName, 'controller-name');
|
||||
titleRow = addRow(_this, titleRowName);
|
||||
var onClickTitle = function onClickTitle(e) {
|
||||
e.preventDefault();
|
||||
_this.closed = !_this.closed;
|
||||
|
File diff suppressed because one or more lines are too long
2
build/dat.gui.min.js
vendored
2
build/dat.gui.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1719,6 +1719,7 @@ var GUI = function GUI(pars) {
|
||||
}
|
||||
var useLocalStorage = SUPPORTS_LOCAL_STORAGE && localStorage.getItem(getLocalStorageHash(this, 'isLocal')) === 'true';
|
||||
var saveToLocalStorage = void 0;
|
||||
var titleRow = void 0;
|
||||
Object.defineProperties(this,
|
||||
{
|
||||
parent: {
|
||||
@ -1773,8 +1774,8 @@ var GUI = function GUI(pars) {
|
||||
},
|
||||
set: function set$$1(v) {
|
||||
params.name = v;
|
||||
if (titleRowName) {
|
||||
titleRowName.innerHTML = params.name;
|
||||
if (titleRow) {
|
||||
titleRow.innerHTML = params.name;
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -1847,9 +1848,9 @@ var GUI = function GUI(pars) {
|
||||
if (params.closed === undefined) {
|
||||
params.closed = true;
|
||||
}
|
||||
var _titleRowName = document.createTextNode(params.name);
|
||||
dom.addClass(_titleRowName, 'controller-name');
|
||||
var titleRow = addRow(_this, _titleRowName);
|
||||
var titleRowName = document.createTextNode(params.name);
|
||||
dom.addClass(titleRowName, 'controller-name');
|
||||
titleRow = addRow(_this, titleRowName);
|
||||
var onClickTitle = function onClickTitle(e) {
|
||||
e.preventDefault();
|
||||
_this.closed = !_this.closed;
|
||||
|
File diff suppressed because one or more lines are too long
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dat.gui",
|
||||
"version": "0.7.2",
|
||||
"version": "0.7.3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dat.gui",
|
||||
"version": "0.7.2",
|
||||
"version": "0.7.3",
|
||||
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
||||
"main": "build/dat.gui.js",
|
||||
"module": "build/dat.gui.module.js",
|
||||
|
Loading…
Reference in New Issue
Block a user