FIX: operator priority error
Change-Id: Ie3abc4e2a307b3cfc31cecbf8fb151115dde4021
This commit is contained in:
parent
85a43216d6
commit
07ee63d940
1 changed files with 1 additions and 1 deletions
|
@ -568,7 +568,7 @@ void IMSlider::draw_colored_band(const ImRect& groove, const ImRect& slideable_r
|
|||
|
||||
auto draw_band = [this](const ImU32& clr, const ImRect& band_rc)
|
||||
{
|
||||
if (clr == m_is_dark ? BACKGROUND_COLOR_DARK : BACKGROUND_COLOR_LIGHT) {
|
||||
if (clr == (m_is_dark ? BACKGROUND_COLOR_DARK : BACKGROUND_COLOR_LIGHT)) {
|
||||
ImRect rc = band_rc;
|
||||
rc.Min += ImVec2(1, 1) * m_scale;
|
||||
rc.Max -= ImVec2(1, 1) * m_scale;
|
||||
|
|
Loading…
Reference in a new issue