Skip to content
Source
Sign inSign up
fuko/rive-preview-player

Add highlighted region screenshots to the preview player #6

Mergedfukomerged 4 commits intomain fromfeat/region-screenshotsmerged by fuko View on GitHub

fukocommented

Summary

  • Add Shift+S and Shift-click region capture, with drag or typed artboard-unit coordinates; plain S still captures the full frame.
  • Highlight the selected box on the full-frame image and carry its coordinates into screenshot cards, feedback bundles, and MCP responses.
  • Document region screenshots in the README, player help, CLI help, and preview skill.
  • Reset region mode when the artboard is replaced and clarify screenshot behavior in the README.

Testing

  • Verified plain S, Shift+S toggle behavior, typed region capture, and region-mode reset on rebuild with screw-bugs.
  • Confirmed the server returned both a full-frame shot and a region shot with artboard-unit coordinates.
  • Not run: manual mouse-drag verification and switching between artboards; the available fixtures have only one artboard and animation.
    1. fuko merged this59f3e19

    2. fuko closed this

Sign in to join this conversation.