opt: change minimum cursor size to 12
This commit is contained in:
parent
e81ad83e85
commit
31e2ac93d4
8
.github/workflows/flutter-nightly.yml
vendored
8
.github/workflows/flutter-nightly.yml
vendored
@ -40,12 +40,12 @@ jobs:
|
|||||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||||
|
|
||||||
- name: Replace engine with rustdesk custom flutter engine
|
- name: Replace engine with rustdesk custom flutter engine
|
||||||
shell: bash
|
|
||||||
run: |
|
run: |
|
||||||
flutter doctor -v
|
flutter doctor -v
|
||||||
wget https://github.com/Kingtous/engine/releases/download/v3.0.5-rustdesk/windows-x64-release-flutter.zip
|
flutter precache --windows
|
||||||
unzip windows-x64-release-flutter.zip -d engine
|
Invoke-WebRequest -Uri https://github.com/Kingtous/engine/releases/download/v3.0.5-rustdesk/windows-x64-release-flutter.zip -OutFile windows-x64-release-flutter.zip
|
||||||
mv engine/* C:/hostedtoolcache/windows/flutter/stable-3.0.5-x64/bin/cache/artifacts/engine/windows-x64-release/
|
Expand-Archive windows-x64-release-flutter.zip -DestinationPath engine
|
||||||
|
mv -Force engine/* C:/hostedtoolcache/windows/flutter/stable-3.0.5-x64/bin/cache/artifacts/engine/windows-x64-release/
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
|
@ -45,7 +45,7 @@ const double kEmptyMarginTop = 50;
|
|||||||
const double kDesktopIconButtonSplashRadius = 20;
|
const double kDesktopIconButtonSplashRadius = 20;
|
||||||
|
|
||||||
/// [kMinCursorSize] indicates min cursor (w, h)
|
/// [kMinCursorSize] indicates min cursor (w, h)
|
||||||
const int kMinCursorSize = 24;
|
const int kMinCursorSize = 12;
|
||||||
|
|
||||||
/// [kDefaultScrollAmountMultiplier] indicates how many rows can be scrolled after a minimum scroll action of mouse
|
/// [kDefaultScrollAmountMultiplier] indicates how many rows can be scrolled after a minimum scroll action of mouse
|
||||||
const kDefaultScrollAmountMultiplier = 5.0;
|
const kDefaultScrollAmountMultiplier = 5.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user