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:
parent
bf016527b2
commit
e5f80a72a5
@ -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) {
|
||||
|
@ -923,7 +923,7 @@ PlasmaComponents.Page {
|
||||
|
||||
value: plasmoid.configuration.backgroundRadius
|
||||
from: -1
|
||||
to: 100
|
||||
to: 50
|
||||
stepSize: 1
|
||||
wheelEnabled: false
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user