Fix bug where command did not lift key
This commit is contained in:
parent
4aa5ce1ff2
commit
50d7173726
BIN
dist/mp-server-v2.exe
vendored
BIN
dist/mp-server-v2.exe
vendored
Binary file not shown.
@ -25,7 +25,7 @@ class MacroPadServer:
|
||||
self.configure_styles()
|
||||
|
||||
# Set Version Str
|
||||
self.version_str = "0.5.3 Beta"
|
||||
self.version_str = "0.5.4 Beta"
|
||||
|
||||
# Set up directories
|
||||
if getattr(sys, 'frozen', False):
|
||||
@ -907,6 +907,7 @@ setTimeout(() => { errorStatus.style.display = 'none'; }, 2000);
|
||||
if str(macro["command"]) and len(str(macro["command"])) == 1:
|
||||
pyautogui.keyDown(macro["command"])
|
||||
time.sleep(0.5)
|
||||
pyautogui.keyUp(macro["command"])
|
||||
else:
|
||||
pyautogui.typewrite(macro["command"], interval=0.02)
|
||||
# Release modifier keys in reverse order
|
||||
|
@ -1 +1 @@
|
||||
0.5.3
|
||||
0.5.4
|
Loading…
x
Reference in New Issue
Block a user