Make menu left arrow navigate back
This commit is contained in:
1 parent
0d3cb4bf48
commit
d3cce6e68f
2 files changed
+5
-1
No files matched your search
@@ -118,6 +118,10 @@ assert(
|
||||
/function setActiveMenu\(id, pushHistory\)[\s\S]*root\.disarmPointer\(\)/.test(menuQml),
|
||||
'menu route changes disarm pointer selection'
|
||||
)
|
||||
assert(
|
||||
/\(event\.key === Qt\.Key_Backspace \|\| event\.key === Qt\.Key_Left\) && !root\.filterText[\s\S]*root\.goBack\(\)/.test(menuQml),
|
||||
'menu Left key follows empty-filter Backspace navigation'
|
||||
)
|
||||
assert(
|
||||
/PointerMoveGate\s*\{[\s\S]*id: pointerGate[\s\S]*referenceItem: card[\s\S]*\}/.test(menuQml),
|
||||
'menu uses shared pointer movement gate in card coordinates'
|
||||
|
||||
Reference in new issue
Block a user