From 4bd1a39ac461605e27144cacb0401a40740e7f03 Mon Sep 17 00:00:00 2001 From: fufesou Date: Thu, 17 Nov 2022 20:24:17 +0800 Subject: [PATCH] fix big init resizeEdgeSize Signed-off-by: fufesou --- Cargo.lock | 5 +++-- flutter/lib/models/state_model.dart | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 67a471cef..49fcc3dce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -620,9 +620,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.22" +version = "0.4.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1" +checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" dependencies = [ "iana-time-zone", "js-sys", @@ -4362,6 +4362,7 @@ dependencies = [ "bytes", "cc", "cfg-if 1.0.0", + "chrono", "clap 3.2.17", "clipboard", "cocoa", diff --git a/flutter/lib/models/state_model.dart b/flutter/lib/models/state_model.dart index 1ceee2fe0..bc80fdf0e 100644 --- a/flutter/lib/models/state_model.dart +++ b/flutter/lib/models/state_model.dart @@ -7,7 +7,7 @@ class StateGlobal { int _windowId = -1; bool _fullscreen = false; final RxBool _showTabBar = true.obs; - final RxDouble _resizeEdgeSize = 8.0.obs; + final RxDouble _resizeEdgeSize = RxDouble(kWindowEdgeSize); final RxDouble _windowBorderWidth = RxDouble(kWindowBorderWidth); final RxBool showRemoteMenuBar = false.obs;