bugfix
This commit is contained in:
parent
2fd77ae79b
commit
0e406f18b5
@ -25,7 +25,7 @@ bricks.Camera = class extends bricks.Popup {
|
|||||||
if (this.opts.type == 'recorder'){
|
if (this.opts.type == 'recorder'){
|
||||||
this.record_status == 'standby';
|
this.record_status == 'standby';
|
||||||
var shot_btn = new bricks.Svg({
|
var shot_btn = new bricks.Svg({
|
||||||
url: bricks_resource('imgs/start_recording.svg'),
|
url: bricks_resource('imgs/switch_recording.svg'),
|
||||||
tip: 'Start record video',
|
tip: 'Start record video',
|
||||||
margin: '10px',
|
margin: '10px',
|
||||||
rate: 2.5
|
rate: 2.5
|
||||||
|
|||||||
@ -567,7 +567,7 @@ bricks.UiVideo =class extends bricks.UiFile {
|
|||||||
this.camera_w.bind('click', this.open_recorder.bind(this));
|
this.camera_w.bind('click', this.open_recorder.bind(this));
|
||||||
this.preview = new bricks.VBox({width: '100%'});
|
this.preview = new bricks.VBox({width: '100%'});
|
||||||
this.add_widget(this.preview);
|
this.add_widget(this.preview);
|
||||||
this.bind('changed', this.show_image.bind(this));
|
this.bind('changed', this.show_video.bind(this));
|
||||||
}
|
}
|
||||||
open_recorder(event){
|
open_recorder(event){
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user