fix: cm initial size incorrect sometimes.

opt: linux can hide window when rustdesk core not ready.
This commit is contained in:
Kingtous
2022-09-26 17:56:32 +08:00
parent 0589f5ae9a
commit ed04ede830
3 changed files with 16 additions and 7 deletions

View File

@@ -19,6 +19,8 @@ const int kMobileDefaultDisplayHeight = 1280;
const int kDesktopDefaultDisplayWidth = 1080;
const int kDesktopDefaultDisplayHeight = 720;
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);