Changeset 25303

Timestamp:
Apr 23, 2021, 8:56:01 AM (3 years ago)
Author:
Vladislav Belov
Message:

Draws scrollbar above list to have a correct order for Z sorting after rP25231.

Reported By: nwtour
Tested By: nwtour

Differential Revision: https://code.wildfiregames.com/D3881

Location:
ps/trunk/source/gui/ObjectTypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/gui/ObjectTypes/CDropDown.cpp

    r25172 r25303  
    477477    }
    478478
    479     // Disable scrollbar during drawing without sending a setting-changed message
    480     bool old = m_ScrollBar;
    481 
    482479    if (m_Open)
    483480    {
     481
     482
     483
    484484        // TODO: drawScrollbar as an argument of DrawList?
    485485        if (m_HideScrollBar)
  • ps/trunk/source/gui/ObjectTypes/CList.cpp

    r25225 r25303  
    331331    float bz = GetBufferedZ();
    332332
    333     // First call draw on ScrollBarOwner
    334     if (m_ScrollBar)
    335         IGUIScrollBarOwner::Draw();
    336 
    337333    {
    338334        CRect rect = GetListRect();
     
    397393        }
    398394    }
     395
     396
     397
    399398}
    400399
Note: See TracChangeset for help on using the changeset viewer.