Skip to content

Commit e506ed2

Browse files
committed
fix(pat scroll-marker): Allow "none" to be a valid option for visibility.
1 parent 21d9f20 commit e506ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/scroll-marker/scroll-marker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ parser.addArgument("current-content-class", "scroll-marker-current");
1515

1616
parser.addArgument("side", "top", ["top", "bottom", "middle", "auto"]);
1717
parser.addArgument("distance", "50%");
18-
parser.addArgument("visibility", null, [null, "most-visible"]);
18+
parser.addArgument("visibility", null, [null, "none", "most-visible"]);
1919

2020
class Pattern extends BasePattern {
2121
static name = "scroll-marker";

0 commit comments

Comments
 (0)