moved a subset of source file to the kern package
This commit is contained in:
@@ -53,7 +53,7 @@ func (r *Reticle) computeCharWidth() {
|
||||
if v := ref.node.value(); v != nil {
|
||||
ref.label = fmt.Sprintf("%v", v)
|
||||
} else {
|
||||
ref.label = ref.node.source()
|
||||
ref.label = ref.node.Source()
|
||||
}
|
||||
r.colsWidth[c] = max(r.colsWidth[c], len(ref.label)+2) // +2 to make room for brakets
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user