This commit is contained in:
Simon Gardling 2022-03-04 15:06:26 -05:00
parent 79894c4cad
commit e1de404665

View File

@ -286,8 +286,8 @@ impl MathApp {
if ui if ui
.add(Button::new("d/dx")) .add(Button::new("d/dx"))
.on_hover_text(match derivative_enabled { .on_hover_text(match derivative_enabled {
true => "Calculate Derivative", true => "Don't Calculate Derivative",
false => "Don't Calculate Derivative", false => "Calculate Derivative",
}) })
.clicked() .clicked()
{ {