mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-10 17:03:20 -04:00
This reduces the framerate from ~62fps to 10fps. This is a workaround for a problem in my terminal, so apologies for inflicting it on everyone else, but here we are, and 10fps seems like it should be enough for anyone. The problem in question is specifically when I try to select some text by dragging the mouse (eg, to copy a generated recovery key). If I start a drag, but a redraw happens before the mouse has moved [a certain distance?], then the drag doesn't work, and nothing gets selected. By reducing the framerate, I have a much better chance of successfully starting a drag.