Editors: Slider, always hide the area header contents

Always hide the area header contents when the slider UI component is used.
This prevents the slider from being drawn semi-transparently on top of
other UI elements.
This commit is contained in:
Sybren A. Stüvel
2023-01-03 15:17:26 +01:00
parent 0c0cdb8010
commit 380132300e

View File

@@ -397,6 +397,9 @@ tSlider *ED_slider_create(struct bContext *C)
}
}
/* Hide the area menu bar contents, as the slider will be drawn on top. */
ED_area_status_text(slider->area, "");
return slider;
}