mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-10-26 19:10:11 +03:00
Fix tabWidth setting updating
This commit is contained in:
parent
74326d215f
commit
57f895dabd
@ -14,7 +14,7 @@ Change Log
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where the Unicode code point field in the document inspector displayed always “not selected.”
|
||||
- Fix an issue where the editor's line height in the opened windows did not update even the setting is changed.
|
||||
- Fix an issue where the editor's line height and tab width in the opened windows did not update even the setting is changed.
|
||||
- Improve stability.
|
||||
|
||||
|
||||
|
@ -1143,7 +1143,7 @@ final class EditorTextView: NSTextView, Themable, CurrentLineHighlighting, Multi
|
||||
@objc var tabWidth: Int {
|
||||
|
||||
didSet {
|
||||
tabWidth = max(oldValue, 0)
|
||||
tabWidth = max(tabWidth, 0)
|
||||
|
||||
guard tabWidth != oldValue else { return }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user