diff --git a/GSS2/ViewModels/AmineContent/SeparatorCalibrationViewModel.cs b/GSS2/ViewModels/AmineContent/SeparatorCalibrationViewModel.cs
index 17801ad..310280c 100644
--- a/GSS2/ViewModels/AmineContent/SeparatorCalibrationViewModel.cs
+++ b/GSS2/ViewModels/AmineContent/SeparatorCalibrationViewModel.cs
@@ -30,7 +30,7 @@ public partial class SeparatorCalibrationViewModel : ViewModelBase
[ObservableProperty] public partial SeparatorRecord? SelectedRecord { get; set; }
[ObservableProperty] public partial SeparatorRecord EditingRecord { get; set; }
- [ObservableProperty] public partial int MainSectionsCurrentIndex { get; set; } = 0;
+ [ObservableProperty] public partial int MainSectionCurrentIndex { get; set; } = 0;
[ObservableProperty] public partial bool MainSectionCanScrollBackward { get; set; } = false;
[ObservableProperty] public partial bool MainSectionCanScrollForward { get; set; } = true;
[ObservableProperty] public partial bool MainSectionIsScrolling { get; set; } = true;
@@ -293,7 +293,7 @@ public partial class SeparatorCalibrationViewModel : ViewModelBase
}
// Команда изменения основной секции (информация <-> изображения)
- [RelayCommand] private void SwitchMainSection() => MainSectionsCurrentIndex = MainSectionsCurrentIndex == 0 ? 1 : 0;
+ [RelayCommand] private void SwitchMainSection() => MainSectionCurrentIndex = MainSectionCurrentIndex == 0 ? 1 : 0;
// Команда навигации по изображениям
[RelayCommand] private void ImagesSectionPrevious() => ImagesSectionCurrentIndex--;
diff --git a/GSS2/Views/AmineContent/SeparatorCalibrationView.axaml b/GSS2/Views/AmineContent/SeparatorCalibrationView.axaml
index 48375c8..856c2eb 100644
--- a/GSS2/Views/AmineContent/SeparatorCalibrationView.axaml
+++ b/GSS2/Views/AmineContent/SeparatorCalibrationView.axaml
@@ -88,7 +88,7 @@
CanScrollBackward="{Binding MainSectionCanScrollBackward}"
CanScrollForward="{Binding MainSectionCanScrollForward}"
ClipToBounds="True"
- CurrentIndex="{Binding MainSectionsCurrentIndex}"
+ CurrentIndex="{Binding MainSectionCurrentIndex}"
IsScrolling="{Binding MainSectionIsScrolling}"
Orientation="Vertical">
@@ -350,7 +350,7 @@
HorizontalAlignment="Stretch"
Command="{Binding SwitchMainSectionCommand}"
Content="К информации"
- IsVisible="{Binding MainSectionsCurrentIndex, Converter={StaticResource EqualsConverter}, ConverterParameter=1}">
+ IsVisible="{Binding MainSectionCurrentIndex, Converter={StaticResource EqualsConverter}, ConverterParameter=1}">
@@ -370,7 +370,7 @@
HorizontalAlignment="Stretch"
Command="{Binding SwitchMainSectionCommand}"
Content="К изображениям"
- IsVisible="{Binding MainSectionsCurrentIndex, Converter={StaticResource EqualsConverter}, ConverterParameter=0}">
+ IsVisible="{Binding MainSectionCurrentIndex, Converter={StaticResource EqualsConverter}, ConverterParameter=0}">