anemeth added inline comments.

INLINE COMMENTS

> zzag wrote in breezestyle.cpp:3630
> buggy..
> 
> `background.setAlphaF(StyleConfigData::menuTransparency() / 100.0f);`

The slider has 10 steps and goes from 0 to 10, that's why it's `/ 10.0`
100 steps would be too much in my opinion.

And we need to invert the value of it because the setAlphaF works inverted to 
our slider and it needs a value between 0.0 and 1.0
That's why we need the `1.0 - `
It would be great if we could set the slider to go from 10 to 0 instead, but I 
don't see how.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D10170

To: anemeth, hpereiradacosta, #plasma, #vdg
Cc: zzag, ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart

Reply via email to