Voltaire // Round windowWidth in ctlCandidateVertical.
This commit is contained in:
parent
acfe46daef
commit
7823ba2af7
|
@ -86,7 +86,7 @@ private class VerticalCandidateView: NSView {
|
||||||
}
|
}
|
||||||
elementWidths = newWidths
|
elementWidths = newWidths
|
||||||
elementHeights = newHeights
|
elementHeights = newHeights
|
||||||
windowWidth = calculatedWindowWidth + cellPadding
|
windowWidth = round(calculatedWindowWidth + cellPadding) // 防止邊框粗細不一
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc(setKeyLabelFont:candidateFont:)
|
@objc(setKeyLabelFont:candidateFont:)
|
||||||
|
|
Loading…
Reference in New Issue