1. 修复了在rk3566上触摸时模型偏移的问题(禁用窗口拖动逻辑,嵌入式无窗口管理器,拖动无意义)

This commit is contained in:
2026-06-14 16:13:41 +08:00
parent 3caeb07e54
commit 2cdb546da4
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -7,3 +7,5 @@ build
deploy.sh
CMakeLists.txt.bak
+2
View File
@@ -195,10 +195,12 @@ void GLCore::mouseMoveEvent(QMouseEvent* event)
const float y = static_cast<float>(event->position().y());
LAppDelegate::GetInstance()->GetView()->OnTouchesMoved(x, y); // 将当前鼠标位置传递给LAppDelegate
#if !defined(EMBEDDED_LINUX)
if (isLeftPressed) { // 鼠标左键按下
const QPoint newPos = event->globalPos() - currentPos;
this->move(newPos);
}
#endif
}
void GLCore::mousePressEvent(QMouseEvent* event)