Comfy-Org / Comfy-Org/ComfyUI_frontend

Feature Request: Option for "Mouse moves Viewport" panning with Mouse Lock

Open
#4,747 1 comment 0 reactions 0 assignees View on GitHub
area:litegraph area:settings area:ui enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

I've played OpenTTD, and I have found that I prefer "Mouse moves Viewport" panning much more than "Mouse moves Canvas" panning because your mouse can move in one motion, instead of going back and forth. Additionally, Mouse Lock keeps the cursor within bounds of the window, so there's no problem with your mouse leaving the window.

Basically, have an option to invert panning direction and/or activate pointer lock while panning.

(IMO the terms I used here, which are adapted from OpenTTD, explains it much more nicely than "Normal" and "Inverted")

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4747-Feature-Request-Option-for-Mouse-moves-Viewport-panning-with-Mouse-Lock-2476d73d365081059f8ddf97e0be53e3) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.