MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / getScrollSpeedString

Function getScrollSpeedString

src/settings/scrollSettings.js:88–101  ·  view source on GitHub ↗
(speed)

Source from the content-addressed store, hash-verified

86}
87
88function getScrollSpeedString(speed) {
89 switch (speed) {
90 case config.SCROLL_SPEED_FAST:
91 return strings.fast;
92 case config.SCROLL_SPEED_SLOW:
93 return strings.slow;
94 case config.SCROLL_SPEED_FAST_X2:
95 return `${strings.fast} x2`;
96 case config.SCROLL_SPEED_NORMAL:
97 return strings.normal;
98 default:
99 return strings.normal;
100 }
101}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected