Stop rounding line height in LayoutManager

This commit is contained in:
1024jp 2017-08-18 01:02:45 +09:00
parent c97860166c
commit f212831eee
2 changed files with 10 additions and 1 deletions

View File

@ -7,6 +7,15 @@ develop
### Improvements
- Adjust line height calcuration.
3.2.1 (199)
--------------------------
### Improvements
- Adjust character inspector position for vertical tab.
- Update `cot` command-line tool:
- Avoid creating an extra blank document if `cot` command creates a new window.

View File

@ -305,7 +305,7 @@ final class LayoutManager: NSLayoutManager {
let multiple = self.firstTextView?.defaultParagraphStyle?.lineHeightMultiple ?? 1.0
return round(multiple * self.defaultLineHeight)
return multiple * self.defaultLineHeight
}