From e99ff2754956a6a9b1f4470c46cf1377817fafe8 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 29 Oct 2024 12:54:58 -0600 Subject: [PATCH] set disabled icon to black - set version to 0.1.0 --- flake.nix | 2 +- icon.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 326254f..ad902cb 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ { fynado = with pkgs; pkgs.buildGoModule rec { pname = "fynado"; - version = "v0.0.0"; + version = "v0.1.0"; src = ./.; vendorHash = "sha256-orfRl0pOiHMwleZci8riKrksbXGzOUmIk+JmP2sf7PA="; diff --git a/icon.go b/icon.go index b836457..81d99f8 100644 --- a/icon.go +++ b/icon.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "image" + "image/color" "image/png" "math" ) @@ -57,7 +58,7 @@ func (m CountIcon) Draw(percentage float64) CountIcon { m.data.Set(x, y, sixes) } } else { - m.data.Set(x, y, sixes) + m.data.Set(x, y, color.Black) } } }