| skipped 86 lines |
87 | 87 | | var cOpts, titleCOpts []cell.Option |
88 | 88 | | if c.focusTracker.isActive(c) { |
89 | 89 | | cOpts = append(cOpts, cell.FgColor(c.opts.inherited.focusedColor)) |
90 | | - | if c.opts.inherited.titleFocusedColor != nil { |
| 90 | + | if c.opts.inherited.titleFocusedColor != nil { |
91 | 91 | | titleCOpts = append(titleCOpts, cell.FgColor(*c.opts.inherited.titleFocusedColor)) |
92 | | - | } else { |
| 92 | + | } else { |
93 | 93 | | titleCOpts = cOpts |
94 | 94 | | } |
95 | | - | } else { |
| 95 | + | } else { |
96 | 96 | | cOpts = append(cOpts, cell.FgColor(c.opts.inherited.borderColor)) |
97 | | - | if c.opts.inherited.titleColor != nil { |
| 97 | + | if c.opts.inherited.titleColor != nil { |
98 | 98 | | titleCOpts = append(titleCOpts, cell.FgColor(*c.opts.inherited.titleColor)) |
99 | | - | } else { |
| 99 | + | } else { |
100 | 100 | | titleCOpts = cOpts |
101 | 101 | | } |
102 | | - | } |
| 102 | + | } |
103 | 103 | | |
104 | 104 | | if err := draw.Border(cvs, ar, |
105 | 105 | | draw.BorderLineStyle(c.opts.border), |
| skipped 81 lines |