mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
cosmetic changes
This commit is contained in:
parent
55b4013149
commit
f976ef0eb2
@ -17,10 +17,10 @@ import Controller from './Controller';
|
|||||||
* @param {init} callback function for adding of elements into this.domElement
|
* @param {init} callback function for adding of elements into this.domElement
|
||||||
*/
|
*/
|
||||||
class CustomController extends Controller{
|
class CustomController extends Controller{
|
||||||
constructor(init) {
|
constructor(init) {
|
||||||
super({});
|
super({});
|
||||||
|
|
||||||
init( this );
|
init( this );
|
||||||
this.custom = true;
|
this.custom = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -561,7 +561,7 @@ common.extend(
|
|||||||
/**
|
/**
|
||||||
* Adds a new custom controller to the GUI.
|
* Adds a new custom controller to the GUI.
|
||||||
*
|
*
|
||||||
* @param object
|
* @param init
|
||||||
* @param property
|
* @param property
|
||||||
* @returns {Controller} The controller that was added to the GUI.
|
* @returns {Controller} The controller that was added to the GUI.
|
||||||
* @instance
|
* @instance
|
||||||
|
Loading…
Reference in New Issue
Block a user