mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix document print
This commit is contained in:
parent
921930d1fc
commit
313f2a9aa5
@ -2,12 +2,13 @@
|
||||
Change Log
|
||||
==========================
|
||||
|
||||
3.6.0 (280)
|
||||
3.6.0 (unreleased)
|
||||
--------------------------
|
||||
|
||||
### Fixes
|
||||
|
||||
- [beta] Fix an issue where the editable area in editors are ocasionally set wrong after zooming.
|
||||
- [beta] Fix an issue where theme color was not applied to document print.
|
||||
- [beta] Fix an issue where the editable area in editors are ocasionally set wrong after zooming on macOS 10.14 Mojave.
|
||||
|
||||
|
||||
|
||||
|
@ -323,7 +323,7 @@ final class PrintTextView: NSTextView, NSLayoutManagerDelegate, Themable {
|
||||
|
||||
// set theme
|
||||
let lastThemeName = self.theme?.name
|
||||
let themeName = ThemeManager.shared.userDefaultSettingName()
|
||||
let themeName = (settings[.theme] as? String) ?? ThemeName.blackAndWhite
|
||||
let theme = ThemeManager.shared.setting(name: themeName)
|
||||
if let theme = theme {
|
||||
self.theme = theme
|
||||
|
Loading…
Reference in New Issue
Block a user