mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 00:56:04 +08:00
FIX:fix preview Flushed filament add padding
Change-Id: I869f64a56df74e1e096e434676b5f6de39ebcca8
This commit is contained in:
parent
8b1ec73b71
commit
afc1395828
@ -4621,6 +4621,8 @@ void GCodeViewer::render_legend(float &legend_height, int canvas_width, int canv
|
||||
max_len += std::max(ImGui::CalcTextSize(filament_change_str.c_str()).x, ImGui::CalcTextSize(flushed_filament_str.c_str()).x);
|
||||
//BBS: display total flushed filament
|
||||
{
|
||||
ImGui::Dummy({window_padding, window_padding});
|
||||
ImGui::SameLine();
|
||||
imgui.text(flushed_filament_str + ":");
|
||||
ImGui::SameLine(max_len);
|
||||
char buf[64];
|
||||
@ -4632,6 +4634,8 @@ void GCodeViewer::render_legend(float &legend_height, int canvas_width, int canv
|
||||
}
|
||||
//BBS display filament change times
|
||||
{
|
||||
ImGui::Dummy({window_padding, window_padding});
|
||||
ImGui::SameLine();
|
||||
imgui.text(filament_change_str + ":");
|
||||
ImGui::SameLine(max_len);
|
||||
char temp_buf[64];
|
||||
|
Loading…
x
Reference in New Issue
Block a user