ENH:adjust preview slider UI

Change-Id: Idc5ba3ed44d04cdcd0d7d124d57b689e1af2a8b1
This commit is contained in:
liz.li 2023-02-14 16:12:28 +08:00 committed by Lane.Wei
parent bb5c614b71
commit 8c923804fc
4 changed files with 151 additions and 156 deletions

View file

@ -1276,7 +1276,7 @@ void GCodeViewer::render(int canvas_width, int canvas_height, int right_margin)
m_sequential_view.marker.set_world_position(m_sequential_view.current_position);
m_sequential_view.marker.set_world_offset(m_sequential_view.current_offset);
//BBS fixed buttom margin. m_moves_slider.pos_y
m_sequential_view.render(legend_height, canvas_width - right_margin * m_scale, canvas_height - bottom_margin * m_scale, m_view_type);
m_sequential_view.render(legend_height, canvas_width, canvas_height - bottom_margin * m_scale, m_view_type);
}
#if ENABLE_GCODE_VIEWER_STATISTICS
render_statistics();