1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-06 16:58:17 +03:00

set 50% as maximum for background radius

--according to https://www.w3schools.com/howto/howto_css_rounded_images.asp
50% is considered the default maximum value for background
roundness.
This commit is contained in:
Michail Vourlakos 2021-03-10 11:53:11 +02:00
parent bf016527b2
commit e5f80a72a5
2 changed files with 3 additions and 3 deletions

View File

@ -198,8 +198,8 @@ BackgroundProperties{
}
return plasmoid.formFactor === PlasmaCore.Types.Horizontal ?
(plasmoid.configuration.backgroundRadius/100) * (solidBackground.height/2) :
(plasmoid.configuration.backgroundRadius/100) * (solidBackground.width/2)
(plasmoid.configuration.backgroundRadius/100) * solidBackground.height :
(plasmoid.configuration.backgroundRadius/100) * solidBackground.width
}
readonly property int customShadow: {
if (customDefShadowIsEnabled && themeExtendedBackground) {

View File

@ -923,7 +923,7 @@ PlasmaComponents.Page {
value: plasmoid.configuration.backgroundRadius
from: -1
to: 100
to: 50
stepSize: 1
wheelEnabled: false