cocoawebview 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/cocoawebview/cocoawebview.m +8 -3
- data/lib/cocoawebview/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f9d8b6d440dc3f049b85926ccbe488134f7fe4c2f574fba2f7cd65d43084600
|
4
|
+
data.tar.gz: 7c4e4cae2a70fd0dfedd0c4f0632a66367e2e0b667190d4655ba0706a5111952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7390369913cdf0173f685322679661007a72089384292d045afbf1d06da2c1620be31c103889a6425efa2b4c2e5252af83ec23c9986e972fb6b34b5d9ce20097
|
7
|
+
data.tar.gz: c7f3bad9de5b031c0ab44e1867cb1f34913741511497c8f6c1f648e2c5072159e639f719d42474ddf1817393a26b8e3ce602bbebb96d71165cbe2c35c704329c
|
@@ -67,6 +67,11 @@ VALUE webview_set_topmost(VALUE self, VALUE topmost);
|
|
67
67
|
- (void)setObj:(VALUE)o {
|
68
68
|
rb_cocoawebview = o;
|
69
69
|
}
|
70
|
+
|
71
|
+
- (void)drawRect:(NSRect)dirtyRect {
|
72
|
+
[[NSColor clearColor] setFill];
|
73
|
+
NSRectFill(dirtyRect);
|
74
|
+
}
|
70
75
|
@end
|
71
76
|
|
72
77
|
@interface CocoaWKWebView : WKWebView
|
@@ -239,9 +244,9 @@ VALUE webview_set_topmost(VALUE self, VALUE topmost);
|
|
239
244
|
*/
|
240
245
|
|
241
246
|
// Add to window's contentView
|
242
|
-
[[window contentView] addSubview:fileDropView];
|
243
|
-
|
244
|
-
|
247
|
+
//[[window contentView] addSubview:fileDropView];
|
248
|
+
[[window contentView] addSubview: webView];
|
249
|
+
[[window contentView] addSubview:fileDropView positioned:NSWindowAbove relativeTo:webView];
|
245
250
|
|
246
251
|
webView.navigationDelegate = self;
|
247
252
|
}
|
data/lib/cocoawebview/version.rb
CHANGED