Skip to content

Commit

Permalink
use the correct number format for the color representation
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Mar 25, 2023
1 parent 28662d5 commit ced8a34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ func NewARGB(a, r, g, b byte) ARGB {
type ARGB uint32

func (c ARGB) String() string {
return fmt.Sprintf("#%x", uint32(c))
return fmt.Sprintf("%d", uint32(c))
// return fmt.Sprintf("#%x", uint32(c))
}

// A is the alpha channel of this color.
Expand Down

0 comments on commit ced8a34

Please sign in to comment.