mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 19:32:18 +00:00
FIX: modify UI of FilamentMapDialog
1. Modify dragging behavior 2. The swap button is grayed out in automatic mode jira:none Change-Id: Idff795bf092c4959c67d0711b0be316fba997684 (cherry picked from commit c7486e1c5e56667cab61ee9a97898f03b65b64b8)
This commit is contained in:
@@ -17,8 +17,8 @@ class DragDropPanel : public wxPanel
|
||||
public:
|
||||
DragDropPanel(wxWindow *parent, const wxString &label, bool is_auto);
|
||||
|
||||
void AddColorBlock(const wxColour &color, int filament_id);
|
||||
void RemoveColorBlock(ColorPanel *panel);
|
||||
void AddColorBlock(const wxColour &color, int filament_id, bool update_ui = true);
|
||||
void RemoveColorBlock(ColorPanel *panel, bool update_ui = true);
|
||||
void DoDragDrop(ColorPanel *panel, const wxColour &color, int filament_id);
|
||||
|
||||
std::vector<int> GetAllFilaments() const;
|
||||
|
||||
Reference in New Issue
Block a user