Skip to content

Commit

Permalink
fix: adjust window controls
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Jan 12, 2024
1 parent c987597 commit 6ac490c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ func (c *Configuration) addWindow(element *etree.Element) {
group := etree.NewElement("g")
for i, color := range []string{red, yellow, green} {
circle := etree.NewElement("circle")
circle.CreateAttr("cx", fmt.Sprintf("%d", (i+1)*15+c.Margin[left]))
circle.CreateAttr("cx", fmt.Sprintf("%d", (i+1)*19+c.Margin[left]-6))
circle.CreateAttr("cy", fmt.Sprintf("%d", 12+c.Margin[top]))
circle.CreateAttr("r", "4.5")
circle.CreateAttr("r", "5.5")
circle.CreateAttr("fill", color)
group.AddChild(circle)
}
Expand Down

0 comments on commit 6ac490c

Please sign in to comment.