mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Stop rounding line height in LayoutManager
This commit is contained in:
parent
c97860166c
commit
f212831eee
@ -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.
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user