mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-28 15:49:04 +08:00
adjust kWindowEdgeSize
This commit is contained in:
parent
23f0f4e33a
commit
f45bb13d24
@ -24,9 +24,9 @@ const Size kConnectionManagerWindowSize = Size(300, 400);
|
||||
/// [kDefaultScrollAmountMultiplier] indicates how many rows can be scrolled after a minimum scroll action of mouse
|
||||
const kDefaultScrollAmountMultiplier = 5.0;
|
||||
const kDefaultScrollDuration = Duration(milliseconds: 50);
|
||||
const kDefaultMouseWhellThrottleDuration = Duration(milliseconds: 50);
|
||||
const kDefaultMouseWheelThrottleDuration = Duration(milliseconds: 50);
|
||||
const kFullScreenEdgeSize = 0.0;
|
||||
const kWindowEdgeSize = 1.0;
|
||||
const kWindowEdgeSize = 5.0;
|
||||
|
||||
const kInvalidValueStr = "InvalidValueStr";
|
||||
|
||||
|
@ -18,7 +18,7 @@ class DesktopScrollWrapper extends StatelessWidget {
|
||||
scrollDuration: kDefaultScrollDuration,
|
||||
scrollCurve: Curves.linearToEaseOut,
|
||||
mouseWheelTurnsThrottleTimeMs:
|
||||
kDefaultMouseWhellThrottleDuration.inMilliseconds,
|
||||
kDefaultMouseWheelThrottleDuration.inMilliseconds,
|
||||
scrollAmountMultiplier: kDefaultScrollAmountMultiplier),
|
||||
child: child,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user