diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-07-03 14:54:38 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-07-03 14:54:38 +0300 |
| commit | eb219cab1ad8b61d5637ebbcd7f3d9bf4b3412dd (patch) | |
| tree | 0b30dae0df1c82b27a16c337afd628f13bdfcb0a /internal | |
| parent | b0681791e3566eaed5d7df4c9c5c13bd1b2b68f8 (diff) | |
Completed check-ci.sh and made ci pass
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/client/ui/colors/colors.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/client/ui/colors/colors.go b/internal/client/ui/colors/colors.go index 6b40009..284e029 100644 --- a/internal/client/ui/colors/colors.go +++ b/internal/client/ui/colors/colors.go @@ -274,9 +274,9 @@ func IsDarkened() bool { func DarkenColor(color lipgloss.Color, factor float64) lipgloss.Color { r, g, b, _ := color.RGBA() - r8 := uint8(r >> 8) - g8 := uint8(g >> 8) - b8 := uint8(b >> 8) + r8 := uint8(r >> 8) // #nosec G115 + g8 := uint8(g >> 8) // #nosec G115 + b8 := uint8(b >> 8) // #nosec G115 // Apply darkening factor (clamping to avoid underflow) darken := func(c uint8) uint8 { |
