Module:MOS in EDO: Difference between revisions

Ganaram inukshuk (talk | contribs)
Added cell colors
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 201: Line 201:
-- Calculate current step ratio
-- Calculate current step ratio
-- Use this to determine which cell colors to use
-- Use this to determine which cell colors to use
local current_step_sizes = p.calculate_step_sizes(current_scale)
local step_ratio_gcd = utils._gcd(current_step_sizes["L"], current_step_sizes["s"])
local step_ratio_gcd = utils._gcd(current_step_sizes["L"], current_step_sizes["s"])
local large_step_size = current_step_sizes["L"]
local large_step_size = current_step_sizes["L"]
Line 244: Line 245:
-- Add the scale sig
-- Add the scale sig
local scale_sig = p.mos_step_pattern_to_scale_sig(current_scale)
local scale_sig = p.mos_step_pattern_to_scale_sig(current_scale)
local current_step_sizes = p.calculate_step_sizes(current_scale)
-- Get the tamnams name, if there is one
-- Get the tamnams name, if there is one