mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 19:56:31 +00:00
fix keyboard catch, fix loading
refactoring
This commit is contained in:
@@ -57,6 +57,10 @@ public partial class MainSuite
|
||||
foreach (var azaionModule in _modules)
|
||||
{
|
||||
var window = (_sp.GetRequiredService(azaionModule.MainWindowType) as Window)!;
|
||||
window.Height = 0;
|
||||
window.Width = 0;
|
||||
window.Show();
|
||||
window.Hide();
|
||||
_openedWindows.Add(window);
|
||||
var icon = new SvgViewbox
|
||||
{
|
||||
@@ -78,7 +82,8 @@ public partial class MainSuite
|
||||
Content = window.Content,
|
||||
Background = Brushes.Black,
|
||||
Foreground = Brushes.White,
|
||||
Cursor = Cursors.Hand
|
||||
Cursor = Cursors.Hand,
|
||||
Tag = azaionModule.WindowEnum
|
||||
};
|
||||
MainTabControl.Items.Add(tabItem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user