Refactor new editor boundaries and test ownership

This commit is contained in:
2026-04-19 15:52:28 +08:00
parent dc13b56cf3
commit 93f06e84ed
279 changed files with 6349 additions and 3238 deletions

View File

@@ -68,7 +68,8 @@ UIEditorViewportShellFrame UpdateUIEditorViewportShell(
const ::XCEngine::UI::UIRect& bounds,
const UIEditorViewportShellModel& model,
const std::vector<::XCEngine::UI::UIInputEvent>& inputEvents,
const Widgets::UIEditorViewportSlotMetrics& metrics) {
const Widgets::UIEditorViewportSlotMetrics& metrics,
const UIEditorViewportInputBridgeRequest& inputRequest) {
UIEditorViewportShellFrame frame = {};
frame.slotLayout = BuildViewportShellLayout(bounds, model.spec, model.frame, metrics);
frame.requestedViewportSize = frame.slotLayout.requestedSurfaceSize;
@@ -77,7 +78,8 @@ UIEditorViewportShellFrame UpdateUIEditorViewportShell(
frame.slotLayout.bounds,
frame.slotLayout.inputRect,
inputEvents,
model.spec.inputBridgeConfig);
model.spec.inputBridgeConfig,
inputRequest);
frame.slotState =
BuildViewportShellSlotState(
model.spec.visualState,