refactor: update hm module (#56)
This commit is contained in:
@@ -67,7 +67,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
x = mkNumericOption {
|
x = mkNumericOption {
|
||||||
default.relative = 0.5;
|
default.fraction = 0.5;
|
||||||
description = mdDoc ''
|
description = mdDoc ''
|
||||||
The horizontal position, adjusted so that { relative = 0.5; } always centers the runner.
|
The horizontal position, adjusted so that { relative = 0.5; } always centers the runner.
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
y = mkNumericOption {
|
y = mkNumericOption {
|
||||||
default.absolute = 0;
|
default.fraction = 0;
|
||||||
description = mdDoc ''
|
description = mdDoc ''
|
||||||
The vertical position, works the same as x.
|
The vertical position, works the same as x.
|
||||||
|
|
||||||
@@ -102,15 +102,6 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
verticalOffset = mkNumericOption {
|
|
||||||
default.absolute = 0;
|
|
||||||
description = ''
|
|
||||||
How much the runner is shifted vertically.
|
|
||||||
|
|
||||||
${numericInfo}
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
hideIcons = mkOption {
|
hideIcons = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
|
Reference in New Issue
Block a user