mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 20:09:50 +01:00
Also disable opacity label + don't reset opacity/blur values
This commit is contained in:
parent
543f69541a
commit
a4bb46aa54
@ -303,14 +303,9 @@ void AppearanceSettingsPage::DisableBlurAndOpacitySliders(bool checked) {
|
|||||||
ui_->blur_slider->setDisabled(checked);
|
ui_->blur_slider->setDisabled(checked);
|
||||||
ui_->background_blur_radius_label->setDisabled(checked);
|
ui_->background_blur_radius_label->setDisabled(checked);
|
||||||
ui_->select_background_blur_label->setDisabled(checked);
|
ui_->select_background_blur_label->setDisabled(checked);
|
||||||
if (checked) {
|
|
||||||
ui_->blur_slider->setValue(PlaylistView::kDefaultBlurRadius);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Opacity slider
|
// Opacity slider
|
||||||
ui_->opacity_slider->setDisabled(checked);
|
ui_->opacity_slider->setDisabled(checked);
|
||||||
ui_->background_opacity_label->setDisabled(checked);
|
ui_->background_opacity_label->setDisabled(checked);
|
||||||
if (checked) {
|
ui_->select_opacity_level_label->setDisabled(checked);
|
||||||
ui_->opacity_slider->setValue(PlaylistView::kDefaultOpacityLevel);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user