mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-02-23 05:40:48 +01:00
Set viewport size for autoscale tests
We were incorrectly relying on the viewport being indirectly set for us. Make sure we are explicit in what we want for these tests.
This commit is contained in:
parent
c211f31113
commit
c16cc6e2b9
@ -223,6 +223,7 @@ describe('Display/Canvas Helper', function () {
|
||||
display = new Display(canvas);
|
||||
display.clipViewport = true;
|
||||
display.resize(4, 3);
|
||||
display.viewportChangeSize(4, 3);
|
||||
document.body.appendChild(canvas);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user