CScrollRegion
in a horizontal orientation?? i would hope so but i'm not finding a flag or member to do so & a red flag i see is that there's only m_ScrollbarWidth
in CScrollRegionParams
, no height (edited)m_ContentH <= m_ClipRect.h
that i changed to this
m_ContentSize <= m_Horizontal ? m_ClipRect.w : m_ClipRect.h
that evaluated as this
(m_ContentSize <= m_Horizontal) ? m_ClipRect.w : m_ClipRect.h
when it should have been like this
m_ContentSize <= (m_Horizontal ? m_ClipRect.w : m_ClipRect.h)
float *m_ClipRectSize = m_Horizontal ? &m_ClipRect.w : &m_ClipRect.h,
*m_ClipRectPos = m_Horizontal ? &m_ClipRect.x : &m_ClipRect.y;
...
// whatever
m_ContentSize <= *m_ClipRectSize
// instead of
// m_ContentH <= m_ClipRect.h
m_Horizontal ?
checksfloat *m_ClipRectSize = m_Horizontal ? &m_ClipRect.w : &m_ClipRect.h,
*m_ClipRectPos = m_Horizontal ? &m_ClipRect.x : &m_ClipRect.y;
...
// whatever
m_ContentSize <= *m_ClipRectSize
// instead of
// m_ContentH <= m_ClipRect.h
cl_nameplates_strong 1
would work so if you spectate someone you can see who they have strong/weak on. It's like that with the weapons hud etc aswell