mirror of
https://github.com/obsqrbtz/egui_knob.git
synced 2026-04-08 20:19:17 +03:00
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:
@@ -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);
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user