remove one compiler warning

This commit is contained in:
Julius Schmitt
2026-01-22 21:03:54 +01:00
parent 9facd0fdfd
commit 6decbfdca1

View File

@@ -175,7 +175,7 @@ impl<'a> Knob<'a> {
} }
impl Widget for Knob<'_> { impl Widget for Knob<'_> {
fn ui(mut self, ui: &mut Ui) -> Response { fn ui(self, ui: &mut Ui) -> Response {
if self.value.is_nan() { if self.value.is_nan() {
*self.value = self.min; *self.value = self.min;
} }