mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
merged GUI
This commit is contained in:
commit
fdb30586d0
@ -460,6 +460,14 @@ DAT.GUI = function(parameters) {
|
|||||||
DAT.GUI.toggleHide();
|
DAT.GUI.toggleHide();
|
||||||
}
|
}
|
||||||
}, false);
|
}, false);
|
||||||
|
|
||||||
|
if (DAT.GUI.inlineCSS) {
|
||||||
|
var styleSheet = document.createElement('style');
|
||||||
|
styleSheet.setAttribute('type', 'text/css');
|
||||||
|
styleSheet.innerHTML = DAT.GUI.inlineCSS;
|
||||||
|
document.head.insertBefore(styleSheet, document.head.firstChild);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -685,4 +693,4 @@ if (DAT.GUI.getVarFromURL('saveString') != null) {
|
|||||||
DAT.GUI.load(DAT.GUI.getVarFromURL('saveString'));
|
DAT.GUI.load(DAT.GUI.getVarFromURL('saveString'));
|
||||||
}
|
}
|
||||||
|
|
||||||
window["DAT.GUI"] = DAT.GUI;
|
window["DAT.GUI"] = DAT.GUI;
|
||||||
|
Loading…
Reference in New Issue
Block a user