From 2cdb546da489ea4eb9df4c9eb4f34292b36c4b2a Mon Sep 17 00:00:00 2001 From: Misakiotoha <1841738040@qq.com> Date: Sun, 14 Jun 2026 16:13:41 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=9C=A8rk3566?= =?UTF-8?q?=E4=B8=8A=E8=A7=A6=E6=91=B8=E6=97=B6=E6=A8=A1=E5=9E=8B=E5=81=8F?= =?UTF-8?q?=E7=A7=BB=E7=9A=84=E9=97=AE=E9=A2=98(=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E7=AA=97=E5=8F=A3=E6=8B=96=E5=8A=A8=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E5=B5=8C=E5=85=A5=E5=BC=8F=E6=97=A0=E7=AA=97=E5=8F=A3=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=99=A8=EF=BC=8C=E6=8B=96=E5=8A=A8=E6=97=A0=E6=84=8F?= =?UTF-8?q?=E4=B9=89)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ src/Core/Src/GLCore.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 9d6455a..13d1d9f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ build deploy.sh + +CMakeLists.txt.bak diff --git a/src/Core/Src/GLCore.cpp b/src/Core/Src/GLCore.cpp index 4ddbbc5..86bbf31 100644 --- a/src/Core/Src/GLCore.cpp +++ b/src/Core/Src/GLCore.cpp @@ -195,10 +195,12 @@ void GLCore::mouseMoveEvent(QMouseEvent* event) const float y = static_cast(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)