Follow-up of 3fdc48452e -> Modified logic to disable horizontal slider in preview

This commit is contained in:
enricoturri1966 2020-10-08 14:09:39 +02:00
parent 3fdc48452e
commit 6d00ed9e2f
3 changed files with 10 additions and 3 deletions

View file

@ -447,7 +447,7 @@ void Control::render()
// and only in a case of no-empty m_values
draw_colored_band(dc);
if (this->IsEnabled()) {
if (!m_render_as_disabled) {
// draw line
draw_scroll_line(dc, lower_pos, higher_pos);