Feature request: toggle options for preview and preview nearby #3

Open
opened 2026-03-28 09:45:16 +01:00 by Spoonail · 0 comments

Hi!
As mentioned in the Mod DB, it would be great to have options to toggle previews with the hotkey, instead of active while being held.

I've submitted a PR for this.

Possible issue

Modifier-only, multiple key combinations (e.g. Ctrl+Shift) may not work well with the toggle.
(ICoreClientAPI.Input.SetHotKeyHandler doesn't seem to react to such inputs)

I've added this note in the TogglePreviewNearby config comment since Ctrl+Shift is the default hotkey, but it might be worth mentioning elsewhere as well

Note: Toggle may not work with modifier-only key combinations (e.g. Ctrl+Shift). You might need to reassign the hotkey.

Hi! [As mentioned in the Mod DB](https://mods.vintagestory.at/chestpreview#cmt-145113), it would be great to have options to toggle previews with the hotkey, instead of active while being held. I've submitted a PR for this. ### Possible issue Modifier-only, multiple key combinations (e.g. Ctrl+Shift) may not work well with the toggle. (`ICoreClientAPI.Input.SetHotKeyHandler` doesn't seem to react to such inputs) I've added this note in the TogglePreviewNearby config comment since Ctrl+Shift is the default hotkey, but it might be worth mentioning elsewhere as well > Note: Toggle may not work with modifier-only key combinations (e.g. Ctrl+Shift). You might need to reassign the hotkey.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OrekiWoof/ChestPreview#3