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()) }, })