mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Adjust textView frame size after scaling
This commit is contained in:
parent
f352a2025e
commit
fceaf48b2f
@ -13,6 +13,7 @@ Change Log
|
||||
### Fixes
|
||||
|
||||
- Fix text flickering while pinch-zoom.
|
||||
- Fix an issue in the editor where the bottom part of the editor became occasionally not responsive when the editor is zoomed-out.
|
||||
- Fix an issue in the find panel fields that carriage retturns (CR) were not drawn as line endings but conrol characters.
|
||||
- Fix an issue under macOS 10.14 that the text in the About panel was black even in the Dark Mode.
|
||||
|
||||
|
@ -129,7 +129,8 @@ extension NSTextView {
|
||||
}
|
||||
|
||||
// reset minimum size for unwrap mode
|
||||
self.minSize = self.visibleRect.size
|
||||
let visibleRect = self.enclosingScrollView?.documentVisibleRect ?? self.visibleRect
|
||||
self.minSize = visibleRect.size
|
||||
|
||||
// update view size
|
||||
// -> For in the case by scaling-down when the view becomes bigger than text content width
|
||||
|
Loading…
Reference in New Issue
Block a user