fix: fix scrolling cutoff for last entry in devexplorer
This commit is contained in:
@@ -118,7 +118,7 @@ struct ScrollMetrics {
|
||||
int list_h; // viewport height (view extent)
|
||||
int total_h; // total content height (content extent)
|
||||
int max_scroll_px; // maximum pixel scroll offset
|
||||
int scroll_px; // current pixel scroll offset (derived from scroll_y)
|
||||
int scroll_px; // current pixel scroll offset (clamped scroll_y)
|
||||
};
|
||||
|
||||
// Bounds of the toolbar "Refresh" button — shared by render and hit-testing.
|
||||
@@ -156,7 +156,7 @@ struct DevExplorerState {
|
||||
int dev_count;
|
||||
bool collapsed[NUM_CATEGORIES];
|
||||
int selected_row;
|
||||
int scroll_y;
|
||||
int scroll_y; // vertical scroll offset, in pixels (not rows)
|
||||
uint64_t last_poll_ms;
|
||||
|
||||
int last_click_row;
|
||||
|
||||
Reference in New Issue
Block a user