From 24101ebc117ba0096928855dfb150f1d3acff7dd Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 11 Jul 2021 19:47:21 -0400 Subject: [PATCH] REF don't use input factor --- core | 2 +- drawing/Common.lua | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core b/core index a8c5135..ad5b95a 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit a8c51359add259a803eb7d8c1f3f63c88208db9d +Subproject commit ad5b95a0bd222ac4ec8078693637f312bc76a80c diff --git a/drawing/Common.lua b/drawing/Common.lua index 2d4544d..b663c57 100644 --- a/drawing/Common.lua +++ b/drawing/Common.lua @@ -109,8 +109,7 @@ M.default_plot_style = _G_Widget_.plot_style( M.percent_label_style = _G_Widget_.label_style( _G_Patterns_.INACTIVE_TEXT_FG, M.label_font_spec, - function(z) return Util.round_to_string(z * 100)..'%' end, - 1 + function(z) return Util.round_to_string(z * 100)..'%' end ) M.initThemedLabelPlot = function(x, y, w, h, label_style) @@ -176,8 +175,7 @@ M.initThemedScalePlot = function(x, y, w, h, f) _G_Widget_.label_style( _G_Patterns_.INACTIVE_TEXT_FG, M.label_font_spec, - f, - 1 + f ), M.base_2_scale_data )