mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-20 21:43:19 +03:00
Update flutter/lib/desktop/widgets/remote_toolbar.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
70dcc7a7f8
commit
d3ae376aa9
@@ -1226,7 +1226,7 @@ class _CustomScaleMenuControlsState extends State<_CustomScaleMenuControls>
|
|||||||
value: scalePos,
|
value: scalePos,
|
||||||
min: 0.0,
|
min: 0.0,
|
||||||
max: 1.0,
|
max: 1.0,
|
||||||
// Use a wide range of divisions (calculated as (maxPercent - minPercent)) to provide ~1% precision increments.
|
// Use a wide range of divisions (calculated as (CustomScaleControlsMixin.maxPercent - CustomScaleControlsMixin.minPercent)) to provide ~1% precision increments.
|
||||||
// This allows users to set precise scale values. Lower values would require more fine-tuning via the +/- buttons, which is undesirable for big ranges.
|
// This allows users to set precise scale values. Lower values would require more fine-tuning via the +/- buttons, which is undesirable for big ranges.
|
||||||
divisions: (CustomScaleControlsMixin.maxPercent - CustomScaleControlsMixin.minPercent).round(),
|
divisions: (CustomScaleControlsMixin.maxPercent - CustomScaleControlsMixin.minPercent).round(),
|
||||||
onChanged: onSliderChanged,
|
onChanged: onSliderChanged,
|
||||||
|
|||||||
Reference in New Issue
Block a user