Opened 23 months ago
Last modified 23 months ago
#10319 assigned enhancement
Make move to center mouse mode keep pivot at center after translation
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | UI | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Yang wants the center of rotation to stay at the middle of the graphics window when using the "center" or "center or translate" mouse modes.
On Dec 9, 2023, at 5:14 AM, leeyang+chimerax--- via ChimeraX-users <chimerax-users@…> wrote:
Hi Tom,
Thank you for implementing those mousemodes. If I'm not mistaken, you had kindly implemented the 'center' function in that first daily build to address an earlier request that I had made.
Currently it centers and fixes cofr at the location. It does mean in subsequent manual drag-to-translate operations, the cofr does not track the viewport. I wonder if there may be some utility in having the option to either a) respect current cofr setting and merely center the location, or b) setting cofr to either frontcenter or centerofview in addition to centering the location? My current workaround is to click-to-center and then reset cofr with an alias.
RE: frames, Thanks for clueing me into the relevant section of code. Found the equivalent file on Windows. The idea would be to reduce the number of frames in order to speed up the animation slightly; but it only feels like it could do with a tweak when zoomed in and the movement spans a short "real" distance. This works.
Cheers,
Yang