mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Modified rendering of DoubleSlider::Control when disabled
This commit is contained in:
parent
cf013d5ab3
commit
3fdc48452e
2 changed files with 20 additions and 15 deletions
|
@ -1173,8 +1173,10 @@ void Preview::update_moves_slider()
|
|||
|
||||
void Preview::enable_moves_slider(bool enable)
|
||||
{
|
||||
if (m_moves_slider != nullptr)
|
||||
if (m_moves_slider != nullptr && m_moves_slider->IsEnabled() != enable) {
|
||||
m_moves_slider->Enable(enable);
|
||||
m_moves_slider->Refresh();
|
||||
}
|
||||
}
|
||||
#else
|
||||
void Preview::update_double_slider_from_canvas(wxKeyEvent & event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue