Bump egui and eframe versions. Therefore bump minor version (as this is a breaking change to the same extent as the egui bump).

This commit is contained in:
Chloe Brett
2025-04-06 21:48:53 +10:00
parent 39692f5011
commit 0a2915f31b
4 changed files with 164 additions and 80 deletions

View File

@@ -11,7 +11,7 @@ Simple knob widget for egui.
- Adjustable size, font size, and stroke width.
- Customizable colors for the knob, indicator and text.
- Label positions (Top, Bottom, Left, Right).
- Label formating.
- Label formatting.
- Two styles: Wiper and Dot.
## Installation
@@ -20,8 +20,8 @@ To use the Knob widget in your project, add the following to your `Cargo.toml`:
```toml
[dependencies]
egui = "0.30"
egui_knob = "*"
egui = "0.31"
egui_knob = "0.2.0"
```
## Usage example
@@ -43,4 +43,4 @@ let knob = Knob::new(&mut value, 0.0, 1.0, KnobStyle::Wiper)
egui::CentralPanel::default().show(ctx, |ui| {
ui.add(knob);
});
```
```