Fix up windows bar on top

pull/29/head
James Montemagno 2022-01-21 15:30:50 -08:00
parent 0625ea9cbd
commit cb80c0651f
1 changed files with 13 additions and 9 deletions

View File

@ -57,15 +57,19 @@ public static class EssentialsExtensions
Platform.PerformActionForShortcutItem(application, shortcutItem, completionHandler);
}));
#elif WINDOWS
life.AddWindows(windows => windows
.OnActivated((window, args) =>
{
Platform.OnActivated(window, args);
})
.OnLaunched((application, args) =>
{
Platform.OnLaunched(args);
}));
life.AddWindows(windows => windows
.OnActivated((window, args) =>
{
Platform.OnActivated(window, args);
})
.OnLaunched((application, args) =>
{
Platform.OnLaunched(args);
})
.OnNativeMessage((app, args) =>
{
app.ExtendsContentIntoTitleBar = false;
}));
#endif
});