Update RoundedCorners spoon for Hammerspoon

This commit is contained in:
2018-04-01 13:57:02 +01:00
parent 1dd34a83e4
commit 6a90ef2b6e
2 changed files with 141 additions and 32 deletions

View File

@@ -117,7 +117,7 @@ function obj:render()
{ action="clip", type="circle", center=data.center, radius=radius, reversePath=true, },
{ action="fill", type="rectangle", frame={x=0, y=0, w=radius, h=radius, }, fillColor={ alpha=1, }},
{ type="resetClip", }
):behavior(hs.canvas.windowBehaviors.canJoinAllSpaces):show()
):behavior(hs.canvas.windowBehaviors.canJoinAllSpaces):level(self.level):show()
end
end)
end