mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 03:11:28 +03:00
opt: custom scroll for better scroll and add trackpad support
This commit is contained in:
@@ -16,7 +16,9 @@ const int kDesktopDefaultDisplayWidth = 1080;
|
||||
const int kDesktopDefaultDisplayHeight = 720;
|
||||
|
||||
/// [kDefaultScrollAmountMultiplier] indicates how many rows can be scrolled after a minimum scroll action of mouse
|
||||
const kDefaultScrollAmountMultiplier = 10.0;
|
||||
const kDefaultScrollAmountMultiplier = 5.0;
|
||||
const kDefaultScrollDuration = Duration(milliseconds: 50);
|
||||
const kDefaultMouseWhellThrottleDuration = Duration(milliseconds: 50);
|
||||
const kFullScreenEdgeSize = 1.0;
|
||||
const kWindowEdgeSize = 4.0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user