Use cached diagram more often
This commit is contained in:
parent
321f8087b5
commit
0e79b5d09d
20
mibpov.js
20
mibpov.js
@ -1033,7 +1033,7 @@ function selectPoint(point) {
|
||||
return [true, true];
|
||||
}
|
||||
elem.selected = "selected";
|
||||
draw(true);
|
||||
draw(false);
|
||||
updateWidgetStates();
|
||||
return [true, false];
|
||||
}
|
||||
@ -1394,32 +1394,32 @@ inputBiomeName.oninput = function() {
|
||||
/* Diagram view settings events */
|
||||
|
||||
inputViewY.oninput = function() {
|
||||
draw(true);
|
||||
draw(false);
|
||||
updateAltitudeText();
|
||||
}
|
||||
inputCheckboxNames.onchange = function() {
|
||||
showNames = this.checked;
|
||||
draw(true);
|
||||
draw(false);
|
||||
}
|
||||
inputCheckboxPoints.onchange = function() {
|
||||
showPoints = this.checked;
|
||||
draw(true);
|
||||
draw(false);
|
||||
}
|
||||
inputCheckboxCellColors.onchange = function() {
|
||||
showCellColors = this.checked;
|
||||
draw(true);
|
||||
draw(false);
|
||||
}
|
||||
inputCheckboxGrid.onchange = function() {
|
||||
showGrid = this.checked;
|
||||
draw(true);
|
||||
draw(false);
|
||||
}
|
||||
inputCheckboxAxes.onchange = function() {
|
||||
showAxes = this.checked;
|
||||
draw(false);
|
||||
}
|
||||
|
||||
/* Noise parameters events */
|
||||
|
||||
inputCheckboxAxes.onchange = function() {
|
||||
showAxes = this.checked;
|
||||
draw(true);
|
||||
}
|
||||
inputNoiseHeatScale.oninput = function() {
|
||||
noises.heat.scale = +this.value;
|
||||
clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user