noise--
This commit is contained in:
parent
15e4d93102
commit
585aa4998a
@ -537,9 +537,7 @@ void ThemePrivate::processContrastSettings(KConfigBase* metadata)
|
|||||||
qreal _saturation = 1.7;
|
qreal _saturation = 1.7;
|
||||||
|
|
||||||
// If we're using a dark background color, darken the background
|
// If we're using a dark background color, darken the background
|
||||||
qDebug() << "CON grey <<<<< " << qGray(color(Plasma::Theme::BackgroundColor).rgb()) << themeName << color(Plasma::Theme::BackgroundColor);
|
|
||||||
if (qGray(color(Plasma::Theme::BackgroundColor).rgb()) < 127) {
|
if (qGray(color(Plasma::Theme::BackgroundColor).rgb()) < 127) {
|
||||||
qDebug() << "CON Dark! <<<<< " << qGray(color(Plasma::Theme::BackgroundColor).rgb());
|
|
||||||
_contrast = 0.45;
|
_contrast = 0.45;
|
||||||
_intensity = 0.45;
|
_intensity = 0.45;
|
||||||
_saturation = 1.7;
|
_saturation = 1.7;
|
||||||
|
@ -601,7 +601,6 @@ void PanelView::updateStruts()
|
|||||||
|
|
||||||
void PanelView::themeChanged()
|
void PanelView::themeChanged()
|
||||||
{
|
{
|
||||||
qDebug() << "CON themeChanged ... " << m_theme.backgroundContrastEnabled() << " : " << m_theme.backgroundContrast() << m_theme.backgroundIntensity() << m_theme.backgroundSaturation();
|
|
||||||
//TODO: how to take the shape from the framesvg?
|
//TODO: how to take the shape from the framesvg?
|
||||||
KWindowEffects::enableBlurBehind(winId(), true);
|
KWindowEffects::enableBlurBehind(winId(), true);
|
||||||
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),
|
KWindowEffects::enableBackgroundContrast(winId(), m_theme.backgroundContrastEnabled(),
|
||||||
|
Loading…
Reference in New Issue
Block a user