mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-29 08:20:02 -05:00
fix: Synchronized scrolling not working correctly
This commit is contained in:
@@ -325,7 +325,7 @@ namespace hex::ui {
|
||||
bb,
|
||||
ImGui::GetWindowScrollbarID(window, axis),
|
||||
axis,
|
||||
&m_scrollPosition,
|
||||
&m_scrollPosition.get(),
|
||||
(std::ceil(innerRect.Max.y - innerRect.Min.y) / CharacterSize.y) - (m_visibleRowCount - 1),
|
||||
std::nextafterf(numRows, std::numeric_limits<float>::max()),
|
||||
roundingCorners);
|
||||
|
||||
Reference in New Issue
Block a user