update min / max
parent
932741b74d
commit
69ba8b16fd
|
@ -74,6 +74,8 @@ GameLib.D3.Texture = function(
|
|||
this.graphics,
|
||||
image
|
||||
);
|
||||
} else {
|
||||
return image;
|
||||
}
|
||||
}.bind(this)
|
||||
);
|
||||
|
|
|
@ -216,11 +216,11 @@ GameLib.System.GUI.prototype.onChange = function(property, subProperty, affected
|
|||
GameLib.System.GUI.prototype.controller = function(folder, object, property, subProperty, step, listen, affected, min, max) {
|
||||
|
||||
if (GameLib.Utils.UndefinedOrNull(min)) {
|
||||
min = -100;
|
||||
min = -1000;
|
||||
}
|
||||
|
||||
if (GameLib.Utils.UndefinedOrNull(max)) {
|
||||
max = 100;
|
||||
max = 1000;
|
||||
}
|
||||
|
||||
if (
|
||||
|
@ -1114,7 +1114,7 @@ GameLib.System.GUI.prototype.buildControl = function(folder, componentTemplate,
|
|||
property === 'maxZ' ||
|
||||
property === 'offsetX'
|
||||
) {
|
||||
controllers.push(folder.add(object, property, -100, 100, 0.01));
|
||||
controllers.push(folder.add(object, property, -1000, 1000, 0.01));
|
||||
} else if (
|
||||
property === 'widthSegments' ||
|
||||
property === 'radiusSegments' ||
|
||||
|
|
Loading…
Reference in New Issue