Add lock screen background
This commit is contained in:
@@ -9,13 +9,14 @@ PanelWindow {
|
||||
required property real radius
|
||||
required property int angle
|
||||
required property color fillColor
|
||||
required property var modelData
|
||||
WlrLayershell.layer: WlrLayer.Overlay
|
||||
screen: modelData
|
||||
|
||||
color: "transparent"
|
||||
implicitWidth: corner.radius
|
||||
implicitHeight: corner.radius
|
||||
|
||||
|
||||
function anglePointX(angle) {
|
||||
return (corner.radius * Math.sqrt(2) * 1/2 * Math.sin(angle)) + corner.radius/2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user