Commit Graph
19 Commits
Author SHA1 Message Date
Brent Simmons 7ac5f8c19b Rejigger layout for column layout. 2026-09-19 10:44:51 -07:00
Brent Simmons 3ea5a87f71 Remove Back/Forward commands from webview contextual menu (they seem to appear on macOS before 26). Fixes #5381. 2026-08-05 09:52:42 -07:00
Brent Simmons ed0f219b8c Remove ancient obsolete code that hid scrollbars during live resize. Fixes #4593. 2026-07-06 10:41:48 -07:00
Brent Simmons 74baa602f4 Set macOS deployment target to macOS 15 and make the app compatible. 2026-02-27 10:26:19 -08:00
Brent Simmons 8070c13e3b Call updateObscuredContentInsets from init. 2026-01-23 14:23:50 -08:00
Brent Simmons 1907486fe5 Blur the area under the toolbar by using the new obscuredContentInsets API. 2026-01-23 11:39:03 -08:00
Brent Simmons d0d7d0c823 Fix various SwiftLint warnings. 2026-01-02 15:13:44 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Ethan Wong d4f9c25df4 Allow 'Open Link' item to show on the contextual menu of web links. (fixes #3666) 2025-04-28 08:40:28 -07:00
Brent Simmons 5f4533cc6b Fixed layout recursion warning by getting rid of bigSurOffsetFix hack, which no longer appears to be needed. Fix #4590. 2025-04-20 21:36:50 -07:00
Maurice Parker de956f9473 Change to use JavaScript to detect scroll events as it will also capture scrollbar events 2021-09-13 21:03:27 -05:00
Maurice Parker 2c801a388c Restore the article scroll position when restarting NetNewsWire 2021-09-13 20:42:58 -05:00
Chris Campbell 364f3a7639 Prevent infinite loop in DetailWebView.setFrameSize()
DetailWebView.setFrameSize() calls bigSurOffsetFix(), which changes the window's frame, which ultimately calls setFrameSize() again (which calls bigSurOffsetFix(), etc). In practice, this isn't causing an infinite loop (I think NSWindow.setFrame(_:display:) is smart enough to prevent reentrancy) but it's still dangerous to have such a glaring logic error in the code.
2021-04-30 00:52:15 -04:00
Chris Campbell bf77d77669 Expand workaround for macOS 11 WebView origin offset bug. Fixes #2916
Move the code that twiddles the window frame from DetailWebView.viewDidEndLiveResize() into a new bigSurOffsetFix() API so it can also be called by setFrameSize() when the frame size is changed outside of a live resize.
2021-04-30 00:02:10 -04:00
Stuart Breckenridge e2f21c15c2 formatting 2021-03-08 14:12:32 +08:00
Stuart Breckenridge f630cb16db comments 2021-03-08 10:30:58 +08:00
Stuart Breckenridge a59df3e6fc Moves frame tweaking to end of liveResize 2021-03-08 10:28:51 +08:00
Maurice Parker 8dda681409 Add accessibility labels to Sidebar, Timeline, and Article. Issue #934 2019-09-10 11:09:17 -05:00
Brent Simmons 70312aa75c Major folder and project tree restructuring. 2019-04-13 16:18:54 -07:00