View: keep the ruler origin drag key's doc comment on its function (#8363)

This commit is contained in:
HassanKhan committed 2026-11-19 21:57:45 +05:00
1 parent 485e4bfa16
commit 6eb0830536
1 file changed
+1 -1
+1 -1
View File
@@ -372,7 +372,6 @@ fn end_ruler_origin_drag(app: &mut VectorcraftApp, ui: &Ui) {
app.session.end_ruler_origin_drag();
}
/// The key of the ruler origin drag's state in egui's temporary data.
/// A drag of the rulers' origin out of their corner, kept between frames.
#[derive(Clone, Copy)]
struct OriginDrag {
@@ -384,6 +383,7 @@ struct OriginDrag {
trim_view: bool,
}
/// The key of the ruler origin drag's state in egui's temporary data.
fn ruler_origin_drag_id() -> egui::Id {
egui::Id::unique("ruler-origin-drag")
}