Bring cover viewer to front
This commit is contained in:
parent
d86bcbb414
commit
d9e27fd32e
2 changed files with 6 additions and 2 deletions
|
|
@ -414,7 +414,9 @@ namespace LibationAvalonia.Views
|
||||||
if (!isDefault)
|
if (!isDefault)
|
||||||
PictureStorage.PictureCached -= PictureCached;
|
PictureStorage.PictureCached -= PictureCached;
|
||||||
|
|
||||||
if (!imageDisplayDialog.IsVisible)
|
if (imageDisplayDialog.IsVisible)
|
||||||
|
imageDisplayDialog.Activate();
|
||||||
|
else
|
||||||
imageDisplayDialog.Show();
|
imageDisplayDialog.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,9 @@ namespace LibationAvalonia.Views
|
||||||
if (!isDefault)
|
if (!isDefault)
|
||||||
PictureStorage.PictureCached -= PictureCached;
|
PictureStorage.PictureCached -= PictureCached;
|
||||||
|
|
||||||
if (!imageDisplayDialog.IsVisible)
|
if (imageDisplayDialog.IsVisible)
|
||||||
|
imageDisplayDialog.Activate();
|
||||||
|
else
|
||||||
imageDisplayDialog.Show();
|
imageDisplayDialog.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue