scrollbar: Update min thumb size to 24px. (#766)
<img width="330" alt="image" src="https://github.com/user-attachments/assets/ace52246-65ed-4d28-9906-c16281b6bd79" />
This commit is contained in:
parent
4f0617e96f
commit
e921621a8b
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ impl ScrollbarShow {
|
|||
|
||||
const BORDER_WIDTH: Pixels = px(0.);
|
||||
pub(crate) const WIDTH: Pixels = px(12.);
|
||||
const MIN_THUMB_SIZE: f32 = 80.;
|
||||
const MIN_THUMB_SIZE: f32 = 24.;
|
||||
const THUMB_RADIUS: Pixels = Pixels(4.0);
|
||||
const THUMB_INSET: Pixels = Pixels(3.);
|
||||
const FADE_OUT_DURATION: f32 = 3.0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue