Use reactive GUI resizing
This commit is contained in:
parent
b159b58973
commit
bf696695ee
7 changed files with 97 additions and 36 deletions
|
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue