diff --git a/Panel.qml b/Panel.qml index 3b92b3b..e07769a 100644 --- a/Panel.qml +++ b/Panel.qml @@ -153,7 +153,10 @@ Panel { checked: !root.paused foreground: Color.popups.text accent: Color.accent - onToggled: root.setPaused(!checked) + // ToggleSwitch does not flip `checked` itself — it only emits + // toggled() and the caller owns the value. Flip the real state; + // the checked binding follows. + onToggled: root.setPaused(!root.paused) } } diff --git a/manifest.json b/manifest.json index 6fb58b3..ee743cd 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "schemaVersion": 1, "id": "felixzsh.key-visualizer", "name": "Key Visualizer", - "version": "1.3.1", + "version": "1.3.2", "description": "Shows the keys you press on screen. Great for keybinding tutorials, demos, and screencasts.", "kinds": [ "panel",