diff --git a/bricks/floaticonbar.js b/bricks/floaticonbar.js index a65670b..550cbf1 100644 --- a/bricks/floaticonbar.js +++ b/bricks/floaticonbar.js @@ -20,10 +20,21 @@ bricks.IconBar = class extends bricks.HBox { if (! opts.cheight){ opts.cheight = 2; } + if (! opts.rate){ + opts.rate = 1; + } super(opts); + this.height_int = 0; var tools = this.opts.tools; for (var i=0;i