This commit is contained in:
yumoqing 2026-03-05 14:53:39 +08:00
parent 8a43485d70
commit 5a567b1a97

View File

@ -51,13 +51,13 @@ bricks.TextFiles = class extends bricks.VBox {
this.filesbar = new bricks.DynamicColumn({}); this.filesbar = new bricks.DynamicColumn({});
this.add_files = []; this.add_files = [];
this.textw = new bricks.UiText({name: 'prompt'}); this.textw = new bricks.UiText({name: 'prompt'});
addfilew = new bricks.Svg({ var addfilew = new bricks.Svg({
cwidth: 1.5, cwidth: 1.5,
cheight: 1.5, cheight: 1.5,
url: bricks_resource('imgs/add.svg') url: bricks_resource('imgs/add.svg')
}); });
addfilew.bind('click', this.add_file.bind(this)); addfilew.bind('click', this.add_file.bind(this));
inputw = new bricks.Svg({ var inputw = new bricks.Svg({
cwidth: 1.5, cwidth: 1.5,
cheight: 1.5, cheight: 1.5,
url: opts.url || bricks_resource('imgs/send.svg') url: opts.url || bricks_resource('imgs/send.svg')