private void HideColorPicker() { if (_colorPickerShown) { Application.Current.MainWindow.Opacity = 0; Application.Current.MainWindow.Visibility = Visibility.Collapsed; AppHidden?.Invoke(this, EventArgs.Empty); _colorPickerShown = false; } }
public void HideColorPicker() { Application.Current.MainWindow.Opacity = 0; Application.Current.MainWindow.Visibility = Visibility.Collapsed; AppHidden?.Invoke(this, EventArgs.Empty); }