mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Minor display fixes.
This commit is contained in:
parent
fd300fb9ea
commit
9d33e16ccd
1
gui.js
1
gui.js
@ -384,7 +384,6 @@ var GUI = function() {
|
||||
for (var i in controllers) {
|
||||
controllerHeight += controllers[i].domElement.offsetHeight;
|
||||
}
|
||||
return;
|
||||
if (controllerHeight - 1 > openHeight) {
|
||||
controllerContainer.style.overflowY = "auto";
|
||||
} else {
|
||||
|
@ -104,9 +104,9 @@ GUI.Scrubber = function(controller, timer) {
|
||||
if (i == 0) continue;
|
||||
var x = Math.round(GUI.map(i, _this.timer.windowMin, _this.timer.windowMin+_this.timer.windowWidth, 0, width))+0.5;
|
||||
if (i < 0) {
|
||||
_this.g.strokeStyle = '#111111';
|
||||
_this.g.strokeStyle = '#111';
|
||||
} else {
|
||||
_this.g.strokeStyle = '#282828';
|
||||
_this.g.strokeStyle = '#363636';
|
||||
}
|
||||
_this.g.beginPath();
|
||||
_this.g.moveTo(x, 0);
|
||||
@ -266,9 +266,9 @@ GUI.Scrubber = function(controller, timer) {
|
||||
}
|
||||
}
|
||||
if (_this.timer.hoverPoint == null) {
|
||||
document.body.style.cursor = 'pointer';
|
||||
} else {
|
||||
document.body.style.cursor = 'auto';
|
||||
} else {
|
||||
document.body.style.cursor = 'pointer';
|
||||
}
|
||||
_this.render();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user