Skip to content

Commit

Permalink
Some minor cleanup for the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
richardwilkes committed Aug 31, 2020
1 parent d0be8c8 commit 463597e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public boolean addToContent(Container panel, OutlineInfo leftInfo, OutlineInfo r
if (rightHeight < minRight) {
rightHeight = minRight;
}
mRemaining -= leftHeight < rightHeight ? rightHeight : leftHeight;
mRemaining -= Math.max(leftHeight, rightHeight);
hasMore = leftInfo.hasMore() || rightInfo.hasMore();
}
if (hasMore) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import com.trollworks.gcs.page.DropPanel;
import com.trollworks.gcs.ui.scale.Scale;
import com.trollworks.gcs.ui.widget.outline.Column;
import com.trollworks.gcs.ui.widget.outline.ColumnUtils;
import com.trollworks.gcs.ui.widget.outline.Outline;
import com.trollworks.gcs.ui.widget.outline.OutlineHeader;
import com.trollworks.gcs.ui.widget.outline.OutlineModel;
Expand Down

0 comments on commit 463597e

Please sign in to comment.