PreviewMessage: Add attachments (& misc changes) (#1715)

This commit is contained in:
Syncx 2023-09-13 07:14:17 +10:00 committed by GitHub
parent cf7c4d63b6
commit a73d09a2f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 108 additions and 8 deletions

View file

@ -99,6 +99,15 @@ const imageContextMenuPatch: NavContextMenuPatchCallback = children => () => {
ContextMenu.close();
}}
/>
<Menu.MenuCheckboxItem
id="vc-nearest-neighbour"
label="Nearset Neighbour"
checked={settings.store.nearestNeighbour}
action={() => {
settings.store.nearestNeighbour = !settings.store.nearestNeighbour;
ContextMenu.close();
}}
/>
<Menu.MenuControlItem
id="vc-zoom"
label="Zoom"