Skip to content

Commit

Permalink
Made window options explicit in main.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Jan 19, 2024
1 parent 6021c08 commit 3029337
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/source/backend/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
int main() {
using namespace Nui;

Window window{{.title = "Nui", .debug = true /* may open dev tools */}};
Window window{Nui::WindowOptions{
.title = "Nui",
.debug = true /* may open dev tools */,
}};
window.setSize(480, 320, WebViewHint::WEBVIEW_HINT_NONE);
window.setHtml(index());
window.run();
Expand Down

0 comments on commit 3029337

Please sign in to comment.