|
|
|
@ -195,10 +195,10 @@ namespace WhackerLinkConsoleV2.Controls
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (IsEditMode) return;
|
|
|
|
if (IsEditMode) return;
|
|
|
|
|
|
|
|
|
|
|
|
//if (HoldState)
|
|
|
|
if (HoldState)
|
|
|
|
// HoldChannelButton.Background = new SolidColorBrush(Colors.Orange);
|
|
|
|
ChannelMarkerBtn.Background = new SolidColorBrush(Colors.Orange);
|
|
|
|
//else
|
|
|
|
else
|
|
|
|
// HoldChannelButton.Background = new SolidColorBrush(Colors.Green);
|
|
|
|
ChannelMarkerBtn.Background = new SolidColorBrush(Colors.Green);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void UpdateBackground()
|
|
|
|
private void UpdateBackground()
|
|
|
|
@ -222,14 +222,6 @@ namespace WhackerLinkConsoleV2.Controls
|
|
|
|
PageButtonClicked.Invoke(sender, this);
|
|
|
|
PageButtonClicked.Invoke(sender, this);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void HoldChannelButton_Click(object sender, RoutedEventArgs e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!IsSelected) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HoldState = !HoldState;
|
|
|
|
|
|
|
|
HoldChannelButtonClicked.Invoke(sender, this);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void VolumeSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
|
|
|
|
private void VolumeSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Volume = e.NewValue;
|
|
|
|
Volume = e.NewValue;
|
|
|
|
@ -239,5 +231,13 @@ namespace WhackerLinkConsoleV2.Controls
|
|
|
|
{
|
|
|
|
{
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void ChannelMarkerBtn_Click(object sender, RoutedEventArgs e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!IsSelected) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HoldState = !HoldState;
|
|
|
|
|
|
|
|
HoldChannelButtonClicked.Invoke(sender, this);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|