On 07/06/2026 07:26, fangjia LUO wrote:
--
Hello,
I am just starting to use Coot 1.1.20
We are at 1.3.1 now.
on macOS Tahoe with an external monitor and am hitting the mouse
alignment/centering bug(?) when moving between the Retina screen and
the extended display.
If you mean OpenGL widget scaling, then I know what you mean.
The manual fix via /Draw -> View -> Scale Down Graphics/ works well,
but I have to do it constantly.
Is it possible to bind "Scale Down" and "Scale Up" to keyboard
shortcuts in Coot 1? I tried the 0.9.1's add_key_binding, but it is
not working.
See attached. Bound to keys 5 and 6.
Paul.
########################################################################
To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1
This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list
hosted by www.jiscmail.ac.uk, terms & conditions are available at
https://www.jiscmail.ac.uk/policyandsecurity/
import coot
def scale_up():
coot.scale_up_graphics()
def scale_down():
coot.scale_down_graphics()
coot.add_key_binding_gtk4_py(53, 0, scale_up, "Scale Up Graphics")
coot.add_key_binding_gtk4_py(54, 0, scale_down, "Scale Down Graphics")