diff --git a/assets/text.json b/assets/text.json index 57fc2cb..26a6ca4 100644 --- a/assets/text.json +++ b/assets/text.json @@ -14,8 +14,8 @@ "- The Sun/Moon button toggles Dark and Light mode." ], "help_function": [ - "- The 'X' button before the '∫' button allows you to delete the function in question. Deleting a function is prevented if only 1 function exists.", - "- The ∫ button (between the 'X' and 'd/dx' buttons) indicates whether to integrate the function in question.", + "- The '✖' button before the '∫' button allows you to delete the function in question. Deleting a function is prevented if only 1 function exists.", + "- The ∫ button (between the '✖' and 'd/dx' buttons) indicates whether to integrate the function in question.", "- The 'd/dx' button next to the gear icon indicates whether or not calculating the derivative is enabled or not.", "- The gear icon next to the function input allows you to tweak settings in relation to the selected function." ], diff --git a/src/function.rs b/src/function.rs index 2d0f287..e0dc2af 100644 --- a/src/function.rs +++ b/src/function.rs @@ -206,7 +206,7 @@ impl FunctionEntry { ui.horizontal(|ui| { // There's more than 1 function! Functions can now be deleted if ui - .add_enabled(can_remove, Button::new("X").frame(false)) + .add_enabled(can_remove, Button::new("✖").frame(false)) .on_hover_text("Delete Function") .clicked() {