mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Disabled icon to add color changes, print pauses and custom gcode in vertical slider of standalone gcode viewer
This commit is contained in:
parent
ce3fc31b48
commit
06c35297b6
3 changed files with 8 additions and 1 deletions
|
@ -455,7 +455,6 @@ void Control::render()
|
|||
// draw both sliders
|
||||
draw_thumbs(dc, lower_pos, higher_pos);
|
||||
|
||||
|
||||
// draw lock/unlock
|
||||
draw_one_layer_icon(dc);
|
||||
|
||||
|
@ -474,6 +473,9 @@ void Control::draw_action_icon(wxDC& dc, const wxPoint pt_beg, const wxPoint pt_
|
|||
{
|
||||
const int tick = m_selection == ssLower ? m_lower_value : m_higher_value;
|
||||
|
||||
if (!m_enable_action_icon)
|
||||
return;
|
||||
|
||||
// suppress add tick on first layer
|
||||
if (tick == 0)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue