From fa49bdebd39fb91f7240bece5d57a80641564ef4 Mon Sep 17 00:00:00 2001 From: tao wang Date: Fri, 16 Jun 2023 14:48:54 +0800 Subject: [PATCH] ENH:transparent images are not complete Change-Id: I09882f74730fa47dec829901491f411d081b833f --- resources/images/transparent_ams_lib.svg | 125 +---------------------- src/slic3r/GUI/Widgets/AMSControl.cpp | 2 +- 2 files changed, 3 insertions(+), 124 deletions(-) diff --git a/resources/images/transparent_ams_lib.svg b/resources/images/transparent_ams_lib.svg index 4354abef91..fa2a0b65f2 100644 --- a/resources/images/transparent_ams_lib.svg +++ b/resources/images/transparent_ams_lib.svg @@ -1,125 +1,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/src/slic3r/GUI/Widgets/AMSControl.cpp b/src/slic3r/GUI/Widgets/AMSControl.cpp index 2049683a48..b9798b99e5 100644 --- a/src/slic3r/GUI/Widgets/AMSControl.cpp +++ b/src/slic3r/GUI/Widgets/AMSControl.cpp @@ -1617,7 +1617,7 @@ void AmsCans::AddCan(Caninfo caninfo, int canindex, int maxcan) m_panel_lib->m_info.can_id = caninfo.can_id; m_panel_lib->m_can_index = canindex; auto m_panel_road = new AMSRoad(amscan, wxID_ANY, caninfo, canindex, maxcan, wxDefaultPosition, AMS_CAN_ROAD_SIZE); - m_sizer_ams->Add(m_panel_lib, 1, wxEXPAND | wxTOP | wxLEFT | wxRIGHT, FromDIP(4)); + m_sizer_ams->Add(m_panel_lib, 1, wxEXPAND | wxTOP | wxLEFT | wxRIGHT, FromDIP(3)); m_sizer_ams->Add(m_panel_road, 0, wxALL, 0); amscan->SetSizer(m_sizer_ams);