Skip to content

Commit

Permalink
Add Side by side to contextmenu settings #89
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2776 committed Sep 9, 2024
1 parent 0ca6dd6 commit 9aad26e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/PicView.Avalonia/Views/MainView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,18 @@
IsChecked="{CompiledBinding IsStretched}"
ToggleType="CheckBox" />
<MenuItem Command="{CompiledBinding ChangeCtrlZoomCommand}" Header="{CompiledBinding GetCtrlZoom, Mode=OneWay}" />
<MenuItem
Command="{CompiledBinding ShowSideBySideCommand}"
Header="{CompiledBinding SideBySide,
Mode=OneWay}"
IsChecked="{CompiledBinding IsShowingSideBySide}"
ToggleType="CheckBox" />
<MenuItem Command="{CompiledBinding ChangeBackgroundCommand}" Header="{CompiledBinding ChangeBackground, Mode=OneWay}">
<MenuItem.Icon>
<Image Height="12" Width="12" Source="{StaticResource CanvasImage}" />
<Image
Height="12"
Source="{StaticResource CanvasImage}"
Width="12" />
</MenuItem.Icon>
</MenuItem>
<MenuItem Command="{CompiledBinding ToggleUICommand}" Header="{CompiledBinding HideShowInterface, Mode=OneWay}">
Expand Down Expand Up @@ -304,12 +313,12 @@
</MenuItem.Icon>
</MenuItem>
<MenuItem
IsEnabled="False"
Command="{CompiledBinding SetAsLockScreenCommand}"
CommandParameter="{CompiledBinding FileInfo.FullName,
FallbackValue=''}"
Header="{CompiledBinding SetAsLockScreenImage,
Mode=OneWay}">
Mode=OneWay}"
IsEnabled="False">
<MenuItem.Icon>
<Path
Data="{StaticResource PanoramaGeometry}"
Expand Down

0 comments on commit 9aad26e

Please sign in to comment.