From 88930f63f94f1e17dda8d5dc029846a88287ace6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 29 Oct 2024 18:28:02 +0800 Subject: [PATCH] bugfix --- bricks/floaticonbar.js | 28 ++++++++++++++++++++-------- bricks/popup.js | 27 ++++++++++++++++++++++----- 2 files changed, 42 insertions(+), 13 deletions(-) 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