mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-10-26 10:58:05 +03:00
Tweak min height of syntax editor
This commit is contained in:
parent
15a0ecd355
commit
5239395f78
@ -64,7 +64,7 @@ struct SyntaxEditView: View {
|
||||
weak var parent: NSHostingController<Self>?
|
||||
|
||||
|
||||
@MainActor private static var viewSize = CGSize(width: 680, height: 500)
|
||||
@MainActor private static var viewSize = CGSize(width: 680, height: 525)
|
||||
|
||||
@State private var name: String = ""
|
||||
@State private var message: String?
|
||||
@ -184,7 +184,7 @@ struct SyntaxEditView: View {
|
||||
Color.clear.onChange(of: geometry.size) { Self.viewSize = $0 }
|
||||
}
|
||||
}
|
||||
.frame(idealWidth: Self.viewSize.width, minHeight: 500, idealHeight: Self.viewSize.height)
|
||||
.frame(idealWidth: Self.viewSize.width, minHeight: 525, idealHeight: Self.viewSize.height)
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user