Fix and improve bar drag and drop XP

This commit is contained in:
Ryan Hughes
2026-05-27 22:59:46 -04:00
parent f8e82dac6b
commit 801c2b00c8
2 changed files with 197 additions and 35 deletions
+5
View File
@@ -4,6 +4,11 @@ set -euo pipefail
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"
if perl -0ne 'exit(/drag\s*\.\s*target\s*:\s*[^;]*\bslot\b/s ? 0 : 1)' "$ROOT/shell/plugins/bar/Bar.qml"; then
fail "bar module dragging must not mutate ModuleSlot positions"
fi
pass "bar module dragging leaves layout-managed slots in place"
run_node_test <<'JS'
const bar = requireFromRoot('shell/plugins/bar/BarModel.js')