mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
FIX: remove hover bitmap
reset a hover bitmap lead to dark color be reset Change-Id: I779a0a63403ae1b8555018359765285c86fc5d47
This commit is contained in:
@@ -384,13 +384,13 @@ CaliPageCaption::CaliPageCaption(wxWindow* parent, CalibMode cali_mode,
|
||||
top_sizer->Fit(this);
|
||||
|
||||
// hover effect
|
||||
m_prev_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
||||
m_prev_btn->SetBitmap(m_prev_bmp_hover.bmp());
|
||||
});
|
||||
//m_prev_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
||||
// m_prev_btn->SetBitmap(m_prev_bmp_hover.bmp());
|
||||
//});
|
||||
|
||||
m_prev_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) {
|
||||
m_prev_btn->SetBitmap(m_prev_bmp_normal.bmp());
|
||||
});
|
||||
//m_prev_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) {
|
||||
// m_prev_btn->SetBitmap(m_prev_bmp_normal.bmp());
|
||||
//});
|
||||
|
||||
// hover effect
|
||||
//m_help_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
||||
|
||||
Reference in New Issue
Block a user