mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-24 03:46:03 +08:00
Implement allowtransparency attribute
This commit is contained in:
@@ -13,3 +13,6 @@ module.exports =
|
||||
|
||||
setAutoSize: (guestInstanceId, params) ->
|
||||
ipc.send 'ATOM_SHELL_GUEST_VIEW_MANAGER_SET_AUTO_SIZE', guestInstanceId, params
|
||||
|
||||
setAllowTransparency: (guestInstanceId, allowtransparency) ->
|
||||
ipc.send 'ATOM_SHELL_GUEST_VIEW_MANAGER_SET_ALLOW_TRANSPARENCY', guestInstanceId, allowtransparency
|
||||
|
||||
@@ -242,8 +242,7 @@ class WebView
|
||||
|
||||
return unless @guestInstanceId
|
||||
|
||||
# FIXME
|
||||
# WebViewInternal.setAllowTransparency @guestInstanceId, @allowtransparency
|
||||
guestViewInternal.setAllowTransparency @guestInstanceId, @allowtransparency
|
||||
else if name is 'name'
|
||||
# We treat null attribute (attribute removed) and the empty string as
|
||||
# one case.
|
||||
|
||||
Reference in New Issue
Block a user