Skip to content

Custom scroll speed? #5271

Answered by rustbasic
BSteffaniak asked this question in Q&A
Oct 15, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

See below :

                ui.ctx().options_mut(|options| {
                    options.line_scroll_speed = 40.0; // default
                });

                ui.ctx().options_mut(|options| {
                    options.line_scroll_speed = 100.0;
                });

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@BSteffaniak
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by BSteffaniak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants