use HTMLCanvasElement
This commit is contained in:
parent
608a9ad347
commit
a8b5e8599f
@ -212,7 +212,7 @@ class LayoutManager {
|
||||
* Tries to find the biggest available box of remaining space (this is a space where we can center the character)
|
||||
*/
|
||||
public findBiggestAvailableArray(): {xStart: number, yStart: number, xEnd: number, yEnd: number} {
|
||||
const game = HtmlUtils.querySelectorOrFail<HTMLDivElement>('#game canvas');
|
||||
const game = HtmlUtils.querySelectorOrFail<HTMLCanvasElement>('#game canvas');
|
||||
if (this.mode === LayoutMode.VideoChat) {
|
||||
const children = document.querySelectorAll<HTMLDivElement>('div.chat-mode > div');
|
||||
const htmlChildren = Array.from(children.values());
|
||||
|
Loading…
Reference in New Issue
Block a user