Panics · P38 Interaction: handlers in new; resizes fit the limits now, stale drags and leaders do nothing

This commit is contained in:
ZacharyZhang-NY committed 2026-10-07 06:39:05 -04:00
1 parent 8db6cecd5a
commit 513ea50946
10 files changed
+278 -135

No files matched your search

+4 -1
View File
@@ -64,7 +64,10 @@ impl RenderOnce for ScrollSync {
let sync = canvas(
move |_, _, _| {
let Some(lead) = lead else { return };
let place = synced[lead].offset();
let Some(place) = synced.get(lead).map(|handle| handle.offset()) else {
log::error!("scroll sync: leader pane {lead} of {} left", synced.len());
return;
};
for (ix, handle) in synced.iter().enumerate() {
let now = handle.offset();
let next = along(now, place, axis);