mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Fix checkbox while listening. Fixes #40
This commit is contained in:
parent
c9c310f13b
commit
15be652664
@ -58,8 +58,10 @@ class BooleanController extends Controller {
|
||||
if (this.getValue() === true) {
|
||||
this.__checkbox.setAttribute('checked', 'checked');
|
||||
this.__checkbox.checked = true;
|
||||
this.__prev = true;
|
||||
} else {
|
||||
this.__checkbox.checked = false;
|
||||
this.__prev = false;
|
||||
}
|
||||
|
||||
return super.updateDisplay();
|
||||
|
Loading…
Reference in New Issue
Block a user