From fbd418cf130bad973498293e042619fa1a0bfbae Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Thu, 7 Jul 2022 15:42:58 +0100 Subject: [PATCH] schedule notify observers prevent haulting event loop patch bump --- poetry.lock | 14 +++++++------- pyproject.toml | 4 ++-- vmcompact/app.py | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/poetry.lock b/poetry.lock index db873d3..6dfc80f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -75,7 +75,7 @@ python-versions = ">=3.4" [[package]] name = "vban-cmd" -version = "1.1.1" +version = "1.1.2" description = "Python interface for the VBAN RT Packet Service (Sendtext)" category = "main" optional = false @@ -83,7 +83,7 @@ python-versions = ">=3.11,<4.0" [[package]] name = "voicemeeter-api" -version = "0.2.1" +version = "0.2.2" description = "A Python wrapper for the Voiceemeter API" category = "main" optional = false @@ -92,7 +92,7 @@ python-versions = ">=3.11,<4.0" [metadata] lock-version = "1.1" python-versions = "^3.11" -content-hash = "2a2ef52597d4ef3a2a29d33eff56bee024c0ce9b77177c92d98ab21383bb036c" +content-hash = "7c6d01ce5f5ab52681421dd3755620a5a8ec14f4dd86fe92f1198383adc869bd" [metadata.files] black = [ @@ -145,10 +145,10 @@ sv-ttk = [ {file = "sv_ttk-0.1.tar.gz", hash = "sha256:342754618292b6d224060307eccaa35b6f6c284b34b4da1d0cf0484b652ffb0f"}, ] vban-cmd = [ - {file = "vban-cmd-1.1.1.tar.gz", hash = "sha256:9bd32ea59a209b783e4507ded9aeddf52e21d8427b9d9e84d39b670fb0cbeb4d"}, - {file = "vban_cmd-1.1.1-py3-none-any.whl", hash = "sha256:9a86d4a7351403bf4d47a64d2fc5915a49b80626a89da5d5e40759e3bfadfc01"}, + {file = "vban-cmd-1.1.2.tar.gz", hash = "sha256:c119fedfe180591a7ce9f8d0ca0a8bd08e730c96aa73428056bfa41f2baecb4b"}, + {file = "vban_cmd-1.1.2-py3-none-any.whl", hash = "sha256:78afa1690e221e21b7436d6259c31e39bdd8166e7064702e8707379e6cac84c8"}, ] voicemeeter-api = [ - {file = "voicemeeter-api-0.2.1.tar.gz", hash = "sha256:51f3ccd4603c7247e7eca62de93546df464e562a40c228b36ea2fa94c4bfb5db"}, - {file = "voicemeeter_api-0.2.1-py3-none-any.whl", hash = "sha256:24d234f61452822de958f870673b4d935c8fed91c1fbea01e9c6e6cf38fe9a60"}, + {file = "voicemeeter-api-0.2.2.tar.gz", hash = "sha256:5a1ae1f8f4ccd6bf452aac6fcc3076994c794e2329f0d25a2a4375287fd43389"}, + {file = "voicemeeter_api-0.2.2-py3-none-any.whl", hash = "sha256:359ae93cccc7d553233718a475ae0c16f5ffa7bff566087c3f09355e1cbbeb39"}, ] diff --git a/pyproject.toml b/pyproject.toml index 4a5a058..f3b409f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "voicemeeter-compact" -version = "1.0.9" +version = "1.0.10" description = "A Compact Voicemeeter Remote App" authors = ["onyx-and-iris "] license = "MIT" @@ -15,7 +15,7 @@ include = ["vmcompact/img/cat.ico"] [tool.poetry.dependencies] python = "^3.11" 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" } [tool.poetry.dev-dependencies] diff --git a/vmcompact/app.py b/vmcompact/app.py index b939793..03ab618 100644 --- a/vmcompact/app.py +++ b/vmcompact/app.py @@ -96,9 +96,9 @@ class App(tk.Tk): if not _base_values.in_scale_button_1: if subject == "pdirty": - self.subject.notify("pdirty") + self.after(1, self.subject.notify, "pdirty") 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): """