Skip to content

Commit

Permalink
fix webview#211 transparency bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostiam authored and marcusjla committed Dec 14, 2019
1 parent 1a0ef81 commit e1247e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webview.h
Expand Up @@ -2145,6 +2145,7 @@ WEBVIEW_API void webview_set_color(struct webview *w, uint8_t r, uint8_t g,
objc_msgSend(w->priv.window, sel_registerName("setOpaque:"), 0);
objc_msgSend(w->priv.window,
sel_registerName("setTitlebarAppearsTransparent:"), 1);
objc_msgSend(w->priv.webview, sel_registerName("_setDrawsBackground:"), 0);
}

WEBVIEW_API void webview_dialog(struct webview *w,
Expand Down

0 comments on commit e1247e5

Please sign in to comment.