Code cleanup
This commit is contained in:
parent
e185593334
commit
4d809023d3
@ -140,7 +140,11 @@ func (self *Proc) ColResize() {
|
|||||||
self.X - self.Gap - self.ColWidths[3],
|
self.X - self.Gap - self.ColWidths[3],
|
||||||
}
|
}
|
||||||
|
|
||||||
rowWidth := self.Gap + self.ColWidths[0] + self.Gap + self.ColWidths[1] + self.Gap + self.ColWidths[2] + self.Gap + self.ColWidths[3] + self.Gap
|
rowWidth := self.Gap +
|
||||||
|
self.ColWidths[0] + self.Gap +
|
||||||
|
self.ColWidths[1] + self.Gap +
|
||||||
|
self.ColWidths[2] + self.Gap +
|
||||||
|
self.ColWidths[3] + self.Gap
|
||||||
|
|
||||||
// only renders a column if it fits
|
// only renders a column if it fits
|
||||||
if self.X < (rowWidth - self.Gap - self.ColWidths[3]) {
|
if self.X < (rowWidth - self.Gap - self.ColWidths[3]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user