Use reactive GUI resizing

This commit is contained in:
asraelite 2024-05-13 19:25:49 +02:00 committed by Markus Scully
parent b159b58973
commit bf696695ee
7 changed files with 97 additions and 36 deletions

View file

@ -2,8 +2,8 @@ import * as gui from './index';
import GuiElement from './element';
export default class GuiFrame extends GuiElement {
constructor(x, y, w, h, options) {
super(x, y, w, h, options);
constructor(x, y, width, height, options) {
super(x, y, width, height, options);
this.type = 'frame';
}
}