bugfix
This commit is contained in:
parent
f282f8bdd1
commit
437e9f587b
@ -17,12 +17,11 @@ bricks.Menu = class extends bricks.VScrollPanel {
|
||||
this.dom_element.style.backgroundColor = options.bgcolor || "white";
|
||||
this.build_title();
|
||||
this.build_description();
|
||||
this.user_data = opts;
|
||||
this.user_data = this.opts;
|
||||
this.bind('item_click', this.menu_clicked.bind(this));
|
||||
this.container = new bricks.VBox({});
|
||||
this.container.user_data = opts;
|
||||
this.add_widget(this.container);
|
||||
schedule_once(this.create_children.bind(this, this, this.opts.items), 0.1);
|
||||
schedule_once(this.create_children.bind(this, this), 0.1);
|
||||
}
|
||||
create_submenu_container(){
|
||||
let cp = new bricks.VBox({});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user