Open MichaelSSY opened 2 months ago
我也遇到了,但是xcode看三维图就有字在上面。需要自己下载源码,调整下就ok了
需要改两个位置
1.MainViewController里,注释setupUI第一行。
// bottomToolBar.backgroundColor = NSColor(named: "LineColor")
2.去NSTextView+LineNumberRulerView拓展里setUpLineNumberView函数,添加一行lineNumberView.clipsToBounds = true。
lineNumberView.clipsToBounds = true
FAULT: <NSRemoteView: 0x14a947ae0 com.apple.TextInputUI.xpc.CursorUIViewService TUICursorUIViewService> determined it was necessary to configure <TUINSWindow: 0x14a909850> to support remote view vibrancy