Fix widget.
This commit is contained in:
parent
9256d5ecb7
commit
80e58578fc
@ -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
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user