Skip to content

Commit acb2640

Browse files
Cong Liurogerwang
authored andcommitted
fixed nw.Window.isTransparent
fixed nwjs#5561
1 parent a83e646 commit acb2640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/api_nw_window.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ nw_binding.registerCustomHook(function(bindingsAPI) {
562562
});
563563
Object.defineProperty(NWWindow.prototype, 'isTransparent', {
564564
get: function() {
565-
return this.appWindow.alphaEnabled;
565+
return this.appWindow.alphaEnabled();
566566
}
567567
});
568568
Object.defineProperty(NWWindow.prototype, 'isKioskMode', {

0 commit comments

Comments
 (0)