Skip to content

Commit cd4bd04

Browse files
committed
new win: frameless support
1 parent c75d8bc commit cd4bd04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/api_nw_newwin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,8 @@ nw_binding.registerCustomHook(function(bindingsAPI) {
620620
//options.innerBounds = {};
621621
//options.outerBounds = {};
622622
if (params) {
623-
// if (params.frame === false)
624-
// options.frame = 'none';
623+
if (params.frame === false)
624+
options.frameless = true;
625625
// if (params.resizable === false)
626626
// options.resizable = false;
627627
// if (params.focus === false)

0 commit comments

Comments
 (0)