merged GUI

This commit is contained in:
Doug Fritz 2011-04-18 17:32:15 -07:00
commit fdb30586d0

View File

@ -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;