mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-07-05 01:53:42 -04:00
Export, plugin archive install, and herald cache race condition fixes (#82)
* WIP: Grid export and plugin extraction * Tweak export process * Check for recursion of the same assembly load. * Individual screens aren't always primary? * Wait for cache to be writable * Export selection only. * Update built xml docs * Ignore invalid archives. * Need to ensure task is started.
This commit is contained in:
@ -130,7 +130,10 @@ namespace Observatory.UI.Views
|
||||
int corner = Properties.Core.Default.NativeNotifyCorner;
|
||||
|
||||
if (screen == -1 || screen > Screens.All.Count)
|
||||
screenBounds = Screens.Primary.Bounds;
|
||||
if (Screens.All.Count == 1)
|
||||
screenBounds = Screens.All[0].Bounds;
|
||||
else
|
||||
screenBounds = Screens.Primary.Bounds;
|
||||
else
|
||||
screenBounds = Screens.All[screen - 1].Bounds;
|
||||
|
||||
|
Reference in New Issue
Block a user