fix: remove propagateComposedEvents and fix plugin author (#50, #51)

- TailscaleWidget.qml: remove propagateComposedEvents from right-click MouseArea
- plugin.json: clean up author string
This commit is contained in:
Vybe (Coding Agent) 2026-05-21 10:13:22 +00:00
parent 76c680cdc9
commit a789ab615f
2 changed files with 1 additions and 6 deletions

View file

@ -304,14 +304,9 @@ PluginComponent {
} }
} }
// propagateComposedEvents: true so that right-clicks both trigger our context menu
// *and* bubble to any parent MouseArea (e.g. for shell-level drag handling).
// Documented because the default (false) is far more common and this choice
// frequently surprises future maintainers.
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
acceptedButtons: Qt.RightButton acceptedButtons: Qt.RightButton
propagateComposedEvents: true
onClicked: { onClicked: {
root.toggleTailscale() root.toggleTailscale()
} }

View file

@ -3,7 +3,7 @@
"name": "Tailscale", "name": "Tailscale",
"description": "Tailscale status and controls on the Dank Bar", "description": "Tailscale status and controls on the Dank Bar",
"version": "0.1.0", "version": "0.1.0",
"author": "John Morris & Vybe (AI Slop... er... Coding Assistant)", "author": "John Morris",
"icon": "vpn_key", "icon": "vpn_key",
"type": "widget", "type": "widget",
"component": "./TailscaleWidget.qml", "component": "./TailscaleWidget.qml",