# Let screenshots leave the background out · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/36d77d39c6020ba15ad65036f00b393aafa66338)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 36d77d39c6020ba15ad65036f00b393aafa66338

Requested commit: 36d77d39c6020ba15ad65036f00b393aafa66338

Commit: 36d77d39c6020ba15ad65036f00b393aafa66338

Tree: 1c0840fcb2cc40445395948aef5a20695aa54947

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Let screenshots leave the background out

CympH asked for screenshots with a transparent background, to drop a
plan onto their own graphics. Settings > Map layers now has a
"Transparent screenshots" toggle. With it on, the PNG leaves out the
gradient and the dot grid, so everything outside the map's floor is
see-through; the map, its layers, placed items, drawings and the page
name draw as before. The toolbar's screenshot tooltip says when it is on.

The capture shell painted the theme background under every capture
(ShadAppBuilder's ColoredBox), so the shell now paints nothing; the view
paints its own backdrop when there is one, and video frames still do.

The option is a new AppPreferences field whose default (off) reproduces
the old behavior, so preferences written before it load without a
migration; a test reads such a record. Library backups don't carry it,
like the other export preferences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [53fe0820ae214afbedaa25cec119233def7660d9](https://git.cafe/dara/icarus/commit/53fe0820ae214afbedaa25cec119233def7660d9?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/36d77d39c6020ba15ad65036f00b393aafa66338?format=markdown)
