Skip to content

Commit 873cad9

Browse files
committed
center clok better
1 parent d721029 commit 873cad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (c ClockWidget) Draw(s tcell.Screen, style *tcell.Style) {
7676
}
7777

7878
func (c ClockWidget) size() (int, int) {
79-
return (c.padX * 4) + (c.sectionPad * 2), (c.padY * 4)
79+
return (c.padX * 5) + (c.sectionPad * 2), (c.padY * 4)
8080
}
8181

8282
// CenterPos changes x and y values of ClockWidget to

0 commit comments

Comments
 (0)