mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
Open main window when selecting tab.
This commit is contained in:
parent
823a8606d3
commit
8ba6a9fa33
1 changed files with 5 additions and 2 deletions
|
|
@ -83,7 +83,7 @@ public class MainWindow : Window, IDisposable
|
|||
{
|
||||
Flags = _config.LockMainWindow
|
||||
? Flags | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoResize
|
||||
: Flags & ~(ImGuiWindowFlags.NoMove |ImGuiWindowFlags.NoResize);
|
||||
: Flags & ~(ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoResize);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
@ -154,7 +154,10 @@ public class MainWindow : Window, IDisposable
|
|||
}
|
||||
|
||||
private void OnTabSelected(TabType type, Design? _)
|
||||
=> SelectTab = type;
|
||||
{
|
||||
SelectTab = type;
|
||||
IsOpen = true;
|
||||
}
|
||||
|
||||
private static string GetLabel()
|
||||
=> Glamourer.Version.Length == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue