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 useLocalStorage = SUPPORTS_LOCAL_STORAGE && localStorage.getItem(getLocalStorageHash(this, 'isLocal')) === 'true';
|
||||||
var saveToLocalStorage = void 0;
|
var saveToLocalStorage = void 0;
|
||||||
|
var titleRow = void 0;
|
||||||
Object.defineProperties(this,
|
Object.defineProperties(this,
|
||||||
{
|
{
|
||||||
parent: {
|
parent: {
|
||||||
@ -1779,8 +1780,8 @@ var GUI = function GUI(pars) {
|
|||||||
},
|
},
|
||||||
set: function set$$1(v) {
|
set: function set$$1(v) {
|
||||||
params.name = v;
|
params.name = v;
|
||||||
if (titleRowName) {
|
if (titleRow) {
|
||||||
titleRowName.innerHTML = params.name;
|
titleRow.innerHTML = params.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1853,9 +1854,9 @@ var GUI = function GUI(pars) {
|
|||||||
if (params.closed === undefined) {
|
if (params.closed === undefined) {
|
||||||
params.closed = true;
|
params.closed = true;
|
||||||
}
|
}
|
||||||
var _titleRowName = document.createTextNode(params.name);
|
var titleRowName = document.createTextNode(params.name);
|
||||||
dom.addClass(_titleRowName, 'controller-name');
|
dom.addClass(titleRowName, 'controller-name');
|
||||||
var titleRow = addRow(_this, _titleRowName);
|
titleRow = addRow(_this, titleRowName);
|
||||||
var onClickTitle = function onClickTitle(e) {
|
var onClickTitle = function onClickTitle(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
_this.closed = !_this.closed;
|
_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 useLocalStorage = SUPPORTS_LOCAL_STORAGE && localStorage.getItem(getLocalStorageHash(this, 'isLocal')) === 'true';
|
||||||
var saveToLocalStorage = void 0;
|
var saveToLocalStorage = void 0;
|
||||||
|
var titleRow = void 0;
|
||||||
Object.defineProperties(this,
|
Object.defineProperties(this,
|
||||||
{
|
{
|
||||||
parent: {
|
parent: {
|
||||||
@ -1773,8 +1774,8 @@ var GUI = function GUI(pars) {
|
|||||||
},
|
},
|
||||||
set: function set$$1(v) {
|
set: function set$$1(v) {
|
||||||
params.name = v;
|
params.name = v;
|
||||||
if (titleRowName) {
|
if (titleRow) {
|
||||||
titleRowName.innerHTML = params.name;
|
titleRow.innerHTML = params.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1847,9 +1848,9 @@ var GUI = function GUI(pars) {
|
|||||||
if (params.closed === undefined) {
|
if (params.closed === undefined) {
|
||||||
params.closed = true;
|
params.closed = true;
|
||||||
}
|
}
|
||||||
var _titleRowName = document.createTextNode(params.name);
|
var titleRowName = document.createTextNode(params.name);
|
||||||
dom.addClass(_titleRowName, 'controller-name');
|
dom.addClass(titleRowName, 'controller-name');
|
||||||
var titleRow = addRow(_this, _titleRowName);
|
titleRow = addRow(_this, titleRowName);
|
||||||
var onClickTitle = function onClickTitle(e) {
|
var onClickTitle = function onClickTitle(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
_this.closed = !_this.closed;
|
_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",
|
"name": "dat.gui",
|
||||||
"version": "0.7.2",
|
"version": "0.7.3",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dat.gui",
|
"name": "dat.gui",
|
||||||
"version": "0.7.2",
|
"version": "0.7.3",
|
||||||
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
"description": "A lightweight graphical user interface for changing variables in JavaScript.",
|
||||||
"main": "build/dat.gui.js",
|
"main": "build/dat.gui.js",
|
||||||
"module": "build/dat.gui.module.js",
|
"module": "build/dat.gui.module.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user