From 0d52e524c296916c2624ccadc72378bd618e966d Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 24 Apr 2024 16:26:39 +0800 Subject: [PATCH] add some --- plugin/story/pie.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/story/pie.js b/plugin/story/pie.js index 2fcf4dac..09e60ef0 100644 --- a/plugin/story/pie.js +++ b/plugin/story/pie.js @@ -71,5 +71,6 @@ Volcanos(chat.ONIMPORT, { var height = can.base.Max(can.ConfHeight(), can.ConfWidth()/2), margin = 10, r = height/2-5*margin can.page.style(can, can.ui.display, html.WIDTH, can.ConfWidth()-height), can.ui.svg.Val(html.HEIGHT, height), can.ui.svg.Val(html.WIDTH, height) can._draw = function(which) { can.onimport._draw(can, height/2-margin/2, can.ConfHeight()/2-margin/2, r, margin, which) }, can._draw(can.db.which||0) + can.page.style(can, can._output, html.HEIGHT, can.ConfHeight(), html.WIDTH, can.ConfWidth()) }, })