mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Forgot to change min bg opacity in the kitten code
This commit is contained in:
@@ -9,11 +9,5 @@ func parse_opacity(arg string) (float64, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, nil
|
return 0, nil
|
||||||
}
|
}
|
||||||
if ans < 0.1 {
|
return max(0, min(ans, 1)), nil
|
||||||
ans = 0.1
|
|
||||||
}
|
|
||||||
if ans > 1 {
|
|
||||||
ans = 1
|
|
||||||
}
|
|
||||||
return ans, nil
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user