new_editor: reduce app shell capture plumbing

This commit is contained in:
2026-04-22 16:34:28 +08:00
parent 2c2a8b8669
commit c42fd4d48b
12 changed files with 101 additions and 174 deletions

View File

@@ -384,18 +384,6 @@ ProjectPanel::CursorKind ProjectPanel::GetCursorKind() const {
return (m_splitterHovered || m_splitterDragging) ? CursorKind::ResizeEW : CursorKind::Arrow;
}
bool ProjectPanel::WantsHostPointerCapture() const {
return m_requestPointerCapture ||
m_assetDragState.requestPointerCapture ||
m_treeDragState.requestPointerCapture;
}
bool ProjectPanel::WantsHostPointerRelease() const {
return m_requestPointerRelease ||
m_assetDragState.requestPointerRelease ||
m_treeDragState.requestPointerRelease;
}
bool ProjectPanel::HasActivePointerCapture() const {
return m_splitterDragging ||
GridDrag::HasActivePointerCapture(m_assetDragState) ||