make ripple-after-trim-back do the right thing

This commit is contained in:
Paul Davis
2025-07-09 18:32:45 -06:00
parent 2d21391c66
commit 5b56cef0a7

View File

@@ -3787,6 +3787,7 @@ Editor::trim_region (bool front)
delta = where.distance (region->position());
region->trim_front (where);
} else {
old_pos = region->end();
delta = region->end().distance (where);
region->trim_end (where);
}