Skip to content

Commit

Permalink
added divider between note and event timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan-1F committed May 15, 2024
1 parent 27cec2c commit f083e72
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/tab/timeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ pub fn timeline_ui_system(
let selected_line = selected_line_query.0;
let viewport = timeline_viewport;

ui.painter().rect_filled(
egui::Rect::from_center_size(
egui::Pos2::new(
viewport.note_timeline_viewport().max.x,
viewport.0.center().y,
),
egui::Vec2::new(2.0, viewport.0.height()),
),
0.0,
Color32::WHITE,
);

ui.painter().rect_filled(
egui::Rect::from_center_size(
egui::Pos2::new(
Expand Down

0 comments on commit f083e72

Please sign in to comment.