mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
DoubleSlider manipulation from preview scene
This commit is contained in:
parent
a9ee4ff4b5
commit
4712c5bbdf
5 changed files with 24 additions and 0 deletions
|
@ -414,6 +414,12 @@ void Preview::msw_rescale()
|
|||
refresh_print();
|
||||
}
|
||||
|
||||
void Preview::move_double_slider(wxKeyEvent& evt)
|
||||
{
|
||||
if (m_slider)
|
||||
m_slider->OnKeyDown(evt);
|
||||
}
|
||||
|
||||
void Preview::bind_event_handlers()
|
||||
{
|
||||
this->Bind(wxEVT_SIZE, &Preview::on_size, this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue