From 44169dbb82f34dafc06036f11ceabadf7a21feeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Tue, 17 Sep 2024 10:16:54 +0800 Subject: [PATCH] fix --- .../LunaTranslator/rendertext/textbrowser_imp/yinying.py | 2 +- plugins/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py b/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py index 316ee004..8301f67c 100644 --- a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py +++ b/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/yinying.py @@ -34,7 +34,7 @@ class CachedQGraphicsDropShadowEffect_multi(QGraphicsDropShadowEffect): self.savey = self.parent().y() painter.setRenderHint(QPainter.RenderHint.Antialiasing) painter.drawPixmap( - -int(self.parent().x()), + -int(self.parent().x()) - self.parent().movedx, # 阿拉伯语绘制偏移 -self.parent().parent().parent().parent().y() - self.savey, self.shadow_pixmap, ) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 536eb4ad..96d02665 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -29,7 +29,7 @@ include(generate_product_version) set(VERSION_MAJOR 5) set(VERSION_MINOR 36) -set(VERSION_PATCH 6) +set(VERSION_PATCH 7) add_library(pch pch.cpp) target_precompile_headers(pch PUBLIC pch.h)