Fix up windows bar on top
parent
0625ea9cbd
commit
cb80c0651f
|
@ -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
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue