From f12720620b008ede8b8aa564eee65dbb266d1c2f 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: Wed, 5 Jun 2024 06:21:59 +0800 Subject: [PATCH] .. --- LunaTranslator/LunaTranslator/gui/showword.py | 1 + LunaTranslator/LunaTranslator/gui/usefulwidget.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/showword.py b/LunaTranslator/LunaTranslator/gui/showword.py index e532da65..dfad7d3f 100644 --- a/LunaTranslator/LunaTranslator/gui/showword.py +++ b/LunaTranslator/LunaTranslator/gui/showword.py @@ -751,6 +751,7 @@ class searchwordW(closeashidewindow): html = self.cache_results[self.tabks[idx]] except: return + self.textOutput.set_zoom(globalconfig["ZoomFactor"]) self.textOutput.setHtml(html) def setupUi(self): diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/LunaTranslator/LunaTranslator/gui/usefulwidget.py index 540fb52c..6e7158be 100644 --- a/LunaTranslator/LunaTranslator/gui/usefulwidget.py +++ b/LunaTranslator/LunaTranslator/gui/usefulwidget.py @@ -834,7 +834,6 @@ class auto_select_webview(QWidget): self.internal.navigate(lastcachehtml) def set_zoom(self, zoom): - print(zoom) self.internal.set_zoom(zoom) def sizeHint(self):