bugfix
This commit is contained in:
parent
eb4a5419ed
commit
33aef29773
@ -62,7 +62,7 @@ bricks.Icon = class extends bricks.Image {
|
|||||||
}
|
}
|
||||||
options_parse(){
|
options_parse(){
|
||||||
this.rate = this.rate || 1;
|
this.rate = this.rate || 1;
|
||||||
var siz = bricks.app.charsize * rate + 'px';
|
var siz = bricks.app.charsize * this.rate + 'px';
|
||||||
this.set_url(this.url)
|
this.set_url(this.url)
|
||||||
this.cwidth = this.opts.cwidth || 1;
|
this.cwidth = this.opts.cwidth || 1;
|
||||||
this.cheight = this.opts.cheight || 1;
|
this.cheight = this.opts.cheight || 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user