mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Debugger - Added stay on top option
This commit is contained in:
1 parent
5496ae97ef
commit
5dd2f2dd37
4 files changed
+33
-41
No files matched your search
@@ -18,7 +18,8 @@
|
||||
Width="800"
|
||||
Height="800"
|
||||
d:DesignHeight="800" d:DesignWidth="800" d:DataContext="{d:DesignInstance debug:DebugViewModel}"
|
||||
Icon="/Resources/Images/Logo/logo-512.png">
|
||||
Icon="/Resources/Images/Logo/logo-512.png"
|
||||
Topmost="{Binding StayOnTopSetting.Value}">
|
||||
<DockPanel>
|
||||
<mde:AppBar Type="Dense"
|
||||
Title="Debugger"
|
||||
@@ -30,6 +31,14 @@
|
||||
|
||||
<materialDesign:PopupBox DockPanel.Dock="Right" PlacementMode="BottomAndAlignRightEdges" StaysOpen="False">
|
||||
<StackPanel>
|
||||
<Button Command="{s:Action ToggleStayOnTop}">
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
|
||||
<ToggleButton Style="{StaticResource MaterialDesignSwitchToggleButton}"
|
||||
Margin="0 0 10 0"
|
||||
IsChecked="{Binding StayOnTopSetting.Value}"/>
|
||||
<TextBlock>Stay on top</TextBlock>
|
||||
</StackPanel>
|
||||
</Button>
|
||||
<Button Content="Force garbage collection" Command="{s:Action ForceGarbageCollection}" />
|
||||
</StackPanel>
|
||||
</materialDesign:PopupBox>
|
||||
|
||||
Reference in new issue
Block a user