mirror of
https://github.com/4sval/FModel.git
synced 2026-12-04 14:58:58 -06:00
button
This commit is contained in:
@@ -39,6 +39,9 @@ public class MenuCommand : ViewModelCommand<ApplicationViewModel>
|
||||
case "Views_3dViewer":
|
||||
SnooperViewModel.Instance.Load(null);
|
||||
break;
|
||||
case "Views_AssetsExplorer":
|
||||
contextViewModel.IsAssetsExplorerVisible = true;
|
||||
break;
|
||||
case "Views_ExportSession":
|
||||
Helper.OpenWindow<AdonisWindow>("Export Session", () => new ExportSessionWindow().Show());
|
||||
break;
|
||||
|
||||
@@ -824,6 +824,21 @@
|
||||
|
||||
<Menu Background="{DynamicResource {x:Static adonisUi:Brushes.Layer3BackgroundBrush}}"
|
||||
HorizontalAlignment="Right" VerticalAlignment="Bottom" Grid.Column="1">
|
||||
<MenuItem Command="{Binding MenuCommand}" CommandParameter="Views_AssetsExplorer" Width="30">
|
||||
<MenuItem.ToolTip>
|
||||
<ToolTip Content="{Binding SwitchAssetExplorer, Source={x:Static settings:UserSettings.Default}}"
|
||||
ContentStringFormat="Assets Explorer ({0})" />
|
||||
</MenuItem.ToolTip>
|
||||
<MenuItem.Header>
|
||||
<Viewbox Width="16" Height="16" HorizontalAlignment="Center">
|
||||
<Canvas Width="24" Height="24">
|
||||
<Path Stroke="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" StrokeThickness="1.75" Data="M11 19h-6a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2.5" />
|
||||
<Path Stroke="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" StrokeThickness="1.75" Data="M15 18a3 3 0 1 0 6 0a3 3 0 1 0 -6 0" />
|
||||
<Path Stroke="{DynamicResource {x:Static adonisUi:Brushes.ForegroundBrush}}" StrokeThickness="1.75" Data="M20.2 20.2l1.8 1.8" />
|
||||
</Canvas>
|
||||
</Viewbox>
|
||||
</MenuItem.Header>
|
||||
</MenuItem>
|
||||
<MenuItem Command="{Binding CUE4Parse.TabControl.AddTabCommand}" ToolTip="Add New Tab" Width="30">
|
||||
<MenuItem.Header>
|
||||
<Viewbox Width="16" Height="16" HorizontalAlignment="Center">
|
||||
|
||||
Reference in New Issue
Block a user