Fix widget.

This commit is contained in:
Oleksandr Kozachuk 2025-06-16 14:42:03 +02:00
parent 9256d5ecb7
commit 80e58578fc
2 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ struct HTMLClockView: PlatformViewRepresentable {
webView.scrollView.isScrollEnabled = false
#else
webView.setValue(false, forKey: "drawsBackground")
webView.isOpaque = false
webView.setValue(false, forKey: "isOpaque")
if let scrollView = webView.value(forKey: "scrollView") as? NSScrollView {
scrollView.hasVerticalScroller = false
scrollView.hasHorizontalScroller = false