feat: Snapshot Types

Introduces 3 new snapshot types as well as a polaroid visual when you take a snapshot

Closes #234 (closed)

Each mode has a hotkey. P is the regular snapshot. shift+P does the template snapshot. L does the view snapshot and shift+L does the region snapshot.

The three new snapshot types are:

  • Current view (takes a picture of only what can be currently seen)
  • Template (if a template is set takes a picture of the template area + 2 pixels of padding around)
  • Region (lets you select a rectangle region to take a picture of)

Region snapshots can have you take two corners or drag from one to another.

Implementation

Theres a new Capture Context file that handles the logic relating to capturing snapshots (getting the region and adding the ui for the polaroid)

Misc Details

  • Reduced motion disables the polaroid
  • Snapshots have a physical button now
Edited by Ategon

Merge request reports

Loading