|
@@ -265,7 +265,6 @@ public class MainViewModel : ReactiveObject
|
|
|
ChangeCtrlZoomCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ChangeCtrlZoom);
|
|
|
|
|
|
ColorPickerCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ColorPicker);
|
|
|
-
|
|
|
SlideshowCommand = FunctionsHelper.CreateReactiveCommand<int>(StartSlideShowTask);
|
|
|
|
|
|
ToggleTaskbarProgressCommand = FunctionsHelper.CreateReactiveCommand(FunctionsMapper.ToggleTaskbarProgress);
|
|
@@ -370,7 +369,7 @@ public class MainViewModel : ReactiveObject
|
|
|
{
|
|
|
get
|
|
|
{
|
|
|
- if (!Settings.Gallery.IsBottomGalleryShown)
|
|
|
+ if (!Settings.Gallery.IsBottomGalleryShown || IsSingleImage || Slideshow.IsRunning)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
@@ -893,6 +892,12 @@ public class MainViewModel : ReactiveObject
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public bool IsSingleImage
|
|
|
+ {
|
|
|
+ get;
|
|
|
+ set => this.RaiseAndSetIfChanged(ref field, value);
|
|
|
+ }
|
|
|
+
|
|
|
#endregion Booleans
|
|
|
|
|
|
public Brush? ImageBackground
|