mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
FIX: remove hover bitmap
reset a hover bitmap lead to dark color be reset Change-Id: I779a0a63403ae1b8555018359765285c86fc5d47
This commit is contained in:
parent
4d8ad0003b
commit
a1b243f2d9
1 changed files with 6 additions and 6 deletions
|
@ -384,13 +384,13 @@ CaliPageCaption::CaliPageCaption(wxWindow* parent, CalibMode cali_mode,
|
||||||
top_sizer->Fit(this);
|
top_sizer->Fit(this);
|
||||||
|
|
||||||
// hover effect
|
// hover effect
|
||||||
m_prev_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
//m_prev_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
||||||
m_prev_btn->SetBitmap(m_prev_bmp_hover.bmp());
|
// m_prev_btn->SetBitmap(m_prev_bmp_hover.bmp());
|
||||||
});
|
//});
|
||||||
|
|
||||||
m_prev_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) {
|
//m_prev_btn->Bind(wxEVT_LEAVE_WINDOW, [this](auto& e) {
|
||||||
m_prev_btn->SetBitmap(m_prev_bmp_normal.bmp());
|
// m_prev_btn->SetBitmap(m_prev_bmp_normal.bmp());
|
||||||
});
|
//});
|
||||||
|
|
||||||
// hover effect
|
// hover effect
|
||||||
//m_help_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
//m_help_btn->Bind(wxEVT_ENTER_WINDOW, [this](auto& e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue