mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-23 13:33:50 +03:00
include Floating case for GlowPoint
This commit is contained in:
parent
5cb27f0ae4
commit
4a4bc402ef
@ -118,7 +118,7 @@ Item{
|
||||
LinearGradient {
|
||||
anchors.fill: parent
|
||||
start: {
|
||||
if (location === PlasmaCore.Types.BottomEdge)
|
||||
if (location === PlasmaCore.Types.BottomEdge || location === PlasmaCore.Types.Floating)
|
||||
return Qt.point(0, 0);
|
||||
else if (location === PlasmaCore.Types.TopEdge)
|
||||
return Qt.point(0, mainGlow.fullCorner);
|
||||
@ -130,7 +130,7 @@ Item{
|
||||
return Qt.point(mainGlow.fullCorner, 0);
|
||||
}
|
||||
end: {
|
||||
if (location === PlasmaCore.Types.BottomEdge)
|
||||
if (location === PlasmaCore.Types.BottomEdge || location === PlasmaCore.Types.Floating)
|
||||
return Qt.point(0, mainGlow.fullCorner);
|
||||
else if (location === PlasmaCore.Types.TopEdge)
|
||||
return Qt.point(0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user