Make animations work in the options screen
This commit is contained in:
@@ -233,3 +233,13 @@ func (m *Menu) Internationalize(replacer Replacer) {
|
||||
record.Internationalize(replacer)
|
||||
}
|
||||
}
|
||||
|
||||
func (r *Record) Path() string {
|
||||
var path []string
|
||||
|
||||
for rec := r; rec != nil; rec = rec.Parent {
|
||||
path = append([]string{strconv.Itoa(rec.Id)}, path...)
|
||||
}
|
||||
|
||||
return strings.Join(path, ".")
|
||||
}
|
||||
|
Reference in New Issue
Block a user