mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
FIX:Coloring interface optimization
Change-Id: I43f7f6e119374a5b2ec6a23ae7e0a6b11942b08f
This commit is contained in:
parent
115995e46d
commit
966242b8dd
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott
|
||||||
std::string item_text = std::to_string(extruder_idx + 1);
|
std::string item_text = std::to_string(extruder_idx + 1);
|
||||||
const ImVec2 label_size = ImGui::CalcTextSize(item_text.c_str(), NULL, true);
|
const ImVec2 label_size = ImGui::CalcTextSize(item_text.c_str(), NULL, true);
|
||||||
|
|
||||||
const ImVec2 button_size(max_label_size.x + m_imgui->scaled(0.6f),max_label_size.y + m_imgui->scaled(0.55f));
|
const ImVec2 button_size(max_label_size.x + m_imgui->scaled(0.5f),0.f);
|
||||||
|
|
||||||
float button_offset = start_pos_x;
|
float button_offset = start_pos_x;
|
||||||
if (extruder_idx % max_filament_items_per_line != 0) {
|
if (extruder_idx % max_filament_items_per_line != 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue