Skip to content

Commit fc614e8

Browse files
committed
better parametric fn drawing for edge cases
1 parent e5f1cbf commit fc614e8

5 files changed

Lines changed: 277 additions & 100 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rust_graph"
3-
version = "0.5.5"
3+
version = "0.6.0"
44
edition = "2024"
55
authors = ["Vedran Maric <valinion@gmail.com>"]
66
description = "Graphing calculator with f32 support."

src/app_ui.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,6 @@ pub fn graph_panel<T: EvalexprFloat>(
670670
ui_state.force_process_elements = true;
671671
}
672672

673-
let mut dragging_point = false;
674673
if let Some(drag_result) = point_dragging(
675674
&mut state.entries,
676675
&mut state.ctx,
@@ -679,7 +678,6 @@ pub fn graph_panel<T: EvalexprFloat>(
679678
hovered_point.as_ref(),
680679
&plot_params,
681680
) {
682-
dragging_point = true;
683681
state.clear_cache = true;
684682
ui_state.showing_custom_label = true;
685683
let screen_x = plot_res.transform.position_from_point_x(drag_result.x);

0 commit comments

Comments
 (0)