Skip to content
Permalink
Browse files

Code cleanup

  • Loading branch information...
cjbassi committed Apr 14, 2018
1 parent e185593 commit 4d809023d356c6094725d6558c2c5757075c7234
Showing with 5 additions and 1 deletion.
  1. +5 −1 widgets/proc.go
@@ -140,7 +140,11 @@ func (self *Proc) ColResize() {
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
if self.X < (rowWidth - self.Gap - self.ColWidths[3]) {

0 comments on commit 4d80902

Please sign in to comment.
You can’t perform that action at this time.