schedule notify observers

prevent haulting event loop

patch bump
This commit is contained in:
onyx-and-iris 2022-07-07 15:42:58 +01:00
parent 39458b8166
commit fbd418cf13
3 changed files with 11 additions and 11 deletions

14
poetry.lock generated
View File

@ -75,7 +75,7 @@ python-versions = ">=3.4"
[[package]] [[package]]
name = "vban-cmd" name = "vban-cmd"
version = "1.1.1" version = "1.1.2"
description = "Python interface for the VBAN RT Packet Service (Sendtext)" description = "Python interface for the VBAN RT Packet Service (Sendtext)"
category = "main" category = "main"
optional = false optional = false
@ -83,7 +83,7 @@ python-versions = ">=3.11,<4.0"
[[package]] [[package]]
name = "voicemeeter-api" name = "voicemeeter-api"
version = "0.2.1" version = "0.2.2"
description = "A Python wrapper for the Voiceemeter API" description = "A Python wrapper for the Voiceemeter API"
category = "main" category = "main"
optional = false optional = false
@ -92,7 +92,7 @@ python-versions = ">=3.11,<4.0"
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.11" python-versions = "^3.11"
content-hash = "2a2ef52597d4ef3a2a29d33eff56bee024c0ce9b77177c92d98ab21383bb036c" content-hash = "7c6d01ce5f5ab52681421dd3755620a5a8ec14f4dd86fe92f1198383adc869bd"
[metadata.files] [metadata.files]
black = [ black = [
@ -145,10 +145,10 @@ sv-ttk = [
{file = "sv_ttk-0.1.tar.gz", hash = "sha256:342754618292b6d224060307eccaa35b6f6c284b34b4da1d0cf0484b652ffb0f"}, {file = "sv_ttk-0.1.tar.gz", hash = "sha256:342754618292b6d224060307eccaa35b6f6c284b34b4da1d0cf0484b652ffb0f"},
] ]
vban-cmd = [ vban-cmd = [
{file = "vban-cmd-1.1.1.tar.gz", hash = "sha256:9bd32ea59a209b783e4507ded9aeddf52e21d8427b9d9e84d39b670fb0cbeb4d"}, {file = "vban-cmd-1.1.2.tar.gz", hash = "sha256:c119fedfe180591a7ce9f8d0ca0a8bd08e730c96aa73428056bfa41f2baecb4b"},
{file = "vban_cmd-1.1.1-py3-none-any.whl", hash = "sha256:9a86d4a7351403bf4d47a64d2fc5915a49b80626a89da5d5e40759e3bfadfc01"}, {file = "vban_cmd-1.1.2-py3-none-any.whl", hash = "sha256:78afa1690e221e21b7436d6259c31e39bdd8166e7064702e8707379e6cac84c8"},
] ]
voicemeeter-api = [ voicemeeter-api = [
{file = "voicemeeter-api-0.2.1.tar.gz", hash = "sha256:51f3ccd4603c7247e7eca62de93546df464e562a40c228b36ea2fa94c4bfb5db"}, {file = "voicemeeter-api-0.2.2.tar.gz", hash = "sha256:5a1ae1f8f4ccd6bf452aac6fcc3076994c794e2329f0d25a2a4375287fd43389"},
{file = "voicemeeter_api-0.2.1-py3-none-any.whl", hash = "sha256:24d234f61452822de958f870673b4d935c8fed91c1fbea01e9c6e6cf38fe9a60"}, {file = "voicemeeter_api-0.2.2-py3-none-any.whl", hash = "sha256:359ae93cccc7d553233718a475ae0c16f5ffa7bff566087c3f09355e1cbbeb39"},
] ]

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "voicemeeter-compact" name = "voicemeeter-compact"
version = "1.0.9" version = "1.0.10"
description = "A Compact Voicemeeter Remote App" description = "A Compact Voicemeeter Remote App"
authors = ["onyx-and-iris <code@onyxandiris.online>"] authors = ["onyx-and-iris <code@onyxandiris.online>"]
license = "MIT" license = "MIT"
@ -15,7 +15,7 @@ include = ["vmcompact/img/cat.ico"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.11" python = "^3.11"
sv-ttk = "^0.1" sv-ttk = "^0.1"
voicemeeter-api = { version = "^0.2.1", python = "^3.10" } voicemeeter-api = { version = "^0.2.2", python = "^3.10" }
vban-cmd = { version = "^1.1.2", python = "^3.10" } vban-cmd = { version = "^1.1.2", python = "^3.10" }
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]

View File

@ -96,9 +96,9 @@ class App(tk.Tk):
if not _base_values.in_scale_button_1: if not _base_values.in_scale_button_1:
if subject == "pdirty": if subject == "pdirty":
self.subject.notify("pdirty") self.after(1, self.subject.notify, "pdirty")
elif subject == "ldirty" and not _base_values.dragging: elif subject == "ldirty" and not _base_values.dragging:
self.subject.notify("ldirty") self.after(1, self.subject.notify, "ldirty")
def _destroy_top_level_frames(self): def _destroy_top_level_frames(self):
""" """