anki: fix UI scale configuration
Use `numbers.between 1.0 2.0` for the UI scale type to match Anki's actual behavior where ProfileManager.uiScale clamps values below 1.0 to 1.0.
This commit is contained in:
parent
2f06b72606
commit
18f9d668aa
2 changed files with 5 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ in
|
|||
};
|
||||
|
||||
uiScale = lib.mkOption {
|
||||
type = with lib.types; nullOr (numbers.between 0.0 1.0);
|
||||
type = with lib.types; nullOr (numbers.between 1.0 2.0);
|
||||
default = null;
|
||||
example = 1.0;
|
||||
description = "User interface scale.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue