ec1645a5ba
Closing an active layout tab always selected the previous neighbor, so focus jumped left every time. Prefer the right neighbor instead (left only at the end) — same rule terminals and the preview rail already use.