1
0

Relaxed quantity name uniqueness check

This commit is contained in:
cryptogopher
2020-05-28 23:19:59 +02:00
parent 1bfe2f11fb
commit 008cfdcd26
4 changed files with 17 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ module BodyTrackersHelper
single_columns = []
spec[1..-1].each_with_index do |row, i|
row.each do |q, span|
# Current span nil and previous span == 1
# Current span is nil and previous span == 1
if span.nil? && (spec[i][q] == 1)
spec[i][q] = -(spec.length - i)
single_columns << q