File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ namespace SSC::android {
4444 const auto argv = this ->config [" ssc_argv" ];
4545
4646 options.headless = this ->config [" build_headless" ] == " true" ;
47- options.transparent = this ->config [" build_transparent" ] == " true" ;
47+ // TODO: not implemented yet on mobile
48+ // options.transparent = this->config["build_transparent"] == "true";
4849 options.debug = isDebugEnabled () ? true : false ;
4950 options.env = stream.str ();
5051 options.cwd = rootDirectory.str ();
Original file line number Diff line number Diff line change @@ -1224,7 +1224,7 @@ namespace SSC {
12241224 webview->add_WebMessageReceived (
12251225 Microsoft::WRL ::Callback<IRecHandler>([&](ICoreWebView2* webview, IArgs* args) -> HRESULT {
12261226 LPWSTR messageRaw;
1227- args->TryGetWebMessageAsString (&messageRaw);
1227+ args->TryGetWebMessageAsString (&messageRaw);
12281228 SSC ::WString message_w (messageRaw);
12291229 CoTaskMemFree (messageRaw);
12301230 if (onMessage != nullptr ) {
@@ -1422,7 +1422,7 @@ namespace SSC {
14221422 }
14231423
14241424 void Window::exit (int code) {
1425- if (this ->onExit != nullptr )
1425+ if (this ->onExit != nullptr )
14261426 {
14271427 std::cerr << " WARNING: Window#" << index << " exiting with code " << code << std::endl;
14281428 this ->onExit (code);
Original file line number Diff line number Diff line change @@ -588,6 +588,7 @@ namespace SSC {
588588 .resizable = opts.resizable ,
589589 .frameless = opts.frameless ,
590590 .utility = opts.utility ,
591+ .transparent = opts.transparent ,
591592 .canExit = opts.canExit ,
592593 .width = width,
593594 .height = height,
@@ -599,7 +600,6 @@ namespace SSC {
599600 .debug = isDebugEnabled () || opts.debug ,
600601 .isTest = this ->options .isTest ,
601602 .headless = this ->options .headless || opts.headless || opts.appData [" build_headless" ] == " true" ,
602- .transparent = opts.transparent ,
603603
604604 .cwd = this ->options .cwd ,
605605 .title = opts.title .size () > 0 ? opts.title : " " ,
You can’t perform that action at this time.
0 commit comments