Fix widget.
This commit is contained in:
@@ -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
|
||||
|
||||
Generated
BIN
Binary file not shown.
Reference in New Issue
Block a user