Fix descending @slider numeric clamp by masyarakatai · Pull Request #1189 · 8f4e/8f4e · GitHub
Skip to content

Fix descending @slider numeric clamp - #1189

Closed
masyarakatai wants to merge 2 commits into
8f4e:mainfrom
masyarakatai:fix/1143-descending-slider-clamp
Closed

masyarakatai wants to merge 2 commits into
8f4e:mainfrom
masyarakatai:fix/1143-descending-slider-clamp

Conversation

@masyarakatai

Copy link
Copy Markdown
Contributor

Fixes #1143.

  • Clamp slider values according to range direction so descending ranges remain descending.
  • Add focused interaction coverage for descending slider endpoints and midpoint.

Tests: npx nx test @8f4e/editor-state --testFile=src/features/code-blocks/features/directives/slider/interaction.test.ts (9 passed).

The editor-state Nx typecheck was attempted but is blocked by the environment: @8f4e/sprite-generator invokes Node with --experimental-transform-types, which is unavailable in the installed Node 26 runtime. The focused Vitest typecheck reported no errors.

@masyarakatai

Copy link
Copy Markdown
Contributor Author

@andorthehood andorthehood added editor Editor, web UI, VS Code integration, and interactive experience work contributor labels Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor editor Editor, web UI, VS Code integration, and interactive experience work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make descending @slider ranges interactive

2 participants