mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 11:45:56 +08:00
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
This commit is contained in:
commit
e338eebade
@ -1084,6 +1084,8 @@ void Control::Ruler::update(wxWindow* win, const std::vector<double>& values, do
|
|||||||
|
|
||||||
void Control::draw_ruler(wxDC& dc)
|
void Control::draw_ruler(wxDC& dc)
|
||||||
{
|
{
|
||||||
|
if (m_values.empty())
|
||||||
|
return;
|
||||||
m_ruler.update(this->GetParent(), m_values, get_scroll_step());
|
m_ruler.update(this->GetParent(), m_values, get_scroll_step());
|
||||||
|
|
||||||
int height, width;
|
int height, width;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user