mirror of
https://github.com/obsqrbtz/egui_knob.git
synced 2026-04-08 20:19:17 +03:00
Updated README
This commit is contained in:
@@ -107,9 +107,9 @@ Knob::new(&mut value, 0.0, 1.0, KnobStyle::Wiper)
|
||||
|
||||
#### Logarithmic Knobs
|
||||
```rust
|
||||
// Display as percentage
|
||||
// Enable logarithmic scaling
|
||||
Knob::new(&mut value, 0.0, 1.0, KnobStyle::Wiper)
|
||||
.with_logarithmic_scaling(true);
|
||||
.with_logarithmic_scaling();
|
||||
```
|
||||
|
||||
## Running demo app
|
||||
|
||||
Reference in New Issue
Block a user