mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
fe4d862fa5
commit
7da45bc3d9
@ -44,7 +44,7 @@ def registrhotkeys(self):
|
||||
"_3": self.showsignal.emit,
|
||||
"_4": lambda: winsharedutils.clipboard_set(gobject.baseobject.currenttext),
|
||||
"_5": gobject.baseobject.translation_ui.changeshowhideraw,
|
||||
"_51":gobject.baseobject.translation_ui.changeshowhidetrans,
|
||||
"_51": gobject.baseobject.translation_ui.changeshowhidetrans,
|
||||
"_6": lambda: gobject.baseobject.transhis.showsignal.emit(),
|
||||
"_7": lambda: gobject.baseobject.readcurrent(force=True),
|
||||
"_8": lambda: gobject.baseobject.translation_ui.changemousetransparentstate(0),
|
||||
@ -66,6 +66,9 @@ def registrhotkeys(self):
|
||||
windows.RegisterWindowMessage("Magpie_Core_CLI_Message_ToggleOverlay"),
|
||||
),
|
||||
"_26": gobject.baseobject.translation_ui.ocr_once_signal.emit,
|
||||
"_26_1": gobject.baseobject.translation_ui.ocr_do_function(
|
||||
gobject.baseobject.translation_ui.ocr_once_follow_rect
|
||||
),
|
||||
"_27": gobject.baseobject.translation_ui.simulate_key_enter,
|
||||
"_28": lambda: winsharedutils.clipboard_set(
|
||||
gobject.baseobject.currenttranslate
|
||||
|
@ -153,7 +153,8 @@ class TS(basetrans):
|
||||
message += msg
|
||||
elif t == "stream-end":
|
||||
break
|
||||
|
||||
else:
|
||||
continue
|
||||
except:
|
||||
print_exc()
|
||||
raise Exception(response_data)
|
||||
|
@ -1024,6 +1024,11 @@
|
||||
"name": "进行一次OCR",
|
||||
"keystring": ""
|
||||
},
|
||||
"_26_1": {
|
||||
"use": false,
|
||||
"name": "再次进行OCR",
|
||||
"keystring": ""
|
||||
},
|
||||
"_27": {
|
||||
"use": false,
|
||||
"name": "模拟按键Enter",
|
||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
||||
|
||||
set(VERSION_MAJOR 5)
|
||||
set(VERSION_MINOR 28)
|
||||
set(VERSION_PATCH 4)
|
||||
set(VERSION_PATCH 5)
|
||||
|
||||
add_library(pch pch.cpp)
|
||||
target_precompile_headers(pch PUBLIC pch.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user