bugfix
This commit is contained in:
parent
a8f71d7269
commit
9d071ce1bf
@ -566,6 +566,7 @@ bricks.UiImage =class extends bricks.UiFile {
|
|||||||
this.add_widget(this.camera_w);
|
this.add_widget(this.camera_w);
|
||||||
this.camera_w.bind('click', this.take_photo.bind(this));
|
this.camera_w.bind('click', this.take_photo.bind(this));
|
||||||
this.preview = new bricks.VBox({width: '100%'});
|
this.preview = new bricks.VBox({width: '100%'});
|
||||||
|
this.add_widget(this.preview);
|
||||||
this.bind('changed', this.show_image.bind(this));
|
this.bind('changed', this.show_image.bind(this));
|
||||||
}
|
}
|
||||||
take_photo(event){
|
take_photo(event){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user