From 43b27f370c4299c9b89cb45d9690bab31c421a10 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 22 Aug 2023 00:50:21 +0200 Subject: AppDelegate: Experiment to set NSTextView to window contentView --- src/AppDelegate.m | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/AppDelegate.m b/src/AppDelegate.m index 2778573..0ee85e9 100644 --- a/src/AppDelegate.m +++ b/src/AppDelegate.m @@ -34,6 +34,7 @@ _text_view = [[NSTextView alloc] initWithFrame:NSMakeRect(0, 0, 400, 400)]; [[_window contentView] addSubview:_text_view]; + // [_window setContentView:_text_view]; } - (void)applicationDidFinishLaunching:(NSNotification *)notification -- cgit v1.2.3