mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
update resize tests to allow for debounce time delay
This commit is contained in:
parent
ac8dfb62d2
commit
2ea99f4d73
@ -1044,10 +1044,15 @@ console.log(c2.__checkbox.getAttribute('checked'));
|
|||||||
gui.add({ x: 0 }, 'x');
|
gui.add({ x: 0 }, 'x');
|
||||||
}
|
}
|
||||||
|
|
||||||
ok($(gui.domElement).hasClass(GUI.CLASS_TOO_TALL), 'GUI has too tall class');
|
|
||||||
notEqual($(gui.domElement).children('ul')[0].style.height, 'auto');
|
|
||||||
|
|
||||||
gui.destroy();
|
setTimeout(function() {
|
||||||
|
ok($(gui.domElement).hasClass(GUI.CLASS_TOO_TALL), 'GUI has too tall class');
|
||||||
|
notEqual($(gui.domElement).children('ul')[0].style.height, 'auto');
|
||||||
|
|
||||||
|
gui.destroy();
|
||||||
|
}, 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user