adjust kWindowEdgeSize

This commit is contained in:
csf 2022-09-27 23:08:01 +08:00
parent 23f0f4e33a
commit f45bb13d24
2 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -18,7 +18,7 @@ class DesktopScrollWrapper extends StatelessWidget {
scrollDuration: kDefaultScrollDuration,
scrollCurve: Curves.linearToEaseOut,
mouseWheelTurnsThrottleTimeMs:
kDefaultMouseWhellThrottleDuration.inMilliseconds,
kDefaultMouseWheelThrottleDuration.inMilliseconds,
scrollAmountMultiplier: kDefaultScrollAmountMultiplier),
child: child,
);