mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 10:23:16 +01:00
View: keep the ruler origin drag key's doc comment on its function (#8363)
This commit is contained in:
1 parent
485e4bfa16
commit
6eb0830536
1 file changed
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user