bugfix
This commit is contained in:
parent
0fd47c408b
commit
7429580ea6
@ -516,7 +516,7 @@ bricks.UiImage =class extends bricks.VBox {
|
||||
"width":"90%"
|
||||
});
|
||||
camera.bring_to_top();
|
||||
camera.bind('shot', this.accept_photo.bind(this));
|
||||
camera.bind('shot', this.accept_photo.bind(this, camera));
|
||||
}
|
||||
accept_photo(camera, event){
|
||||
camera.dismiss();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user