diff --git a/Source/UI/CandidateUI/HorizontalCandidateController.swift b/Source/UI/CandidateUI/HorizontalCandidateController.swift index 32f7ebd7..25828171 100644 --- a/Source/UI/CandidateUI/HorizontalCandidateController.swift +++ b/Source/UI/CandidateUI/HorizontalCandidateController.swift @@ -36,8 +36,7 @@ fileprivate class HorizontalCandidateView: NSView { if !elementWidths.isEmpty { result.width = elementWidths.reduce(0, +) result.width += CGFloat(elementWidths.count) - // result.height = keyLabelHeight + candidateTextHeight + 1.0 - result.height = candidateTextHeight + cellPadding; + result.height = candidateTextHeight + cellPadding } return result } @@ -47,14 +46,13 @@ fileprivate class HorizontalCandidateView: NSView { let count = min(labels.count, candidates.count) keyLabels = Array(labels[0..