Skip to content

Commit bc26cbc

Browse files
committed
enable shiftKey to preserve lineup when clicking
1 parent 136029d commit bc26cbc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

assets/view.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,10 @@ async function click(event) {
191191
event.stopPropagation()
192192
let title = target.innerText
193193
let panel = await resolve(title, pid)
194-
lineup.removePanelsRightOf(pid)
194+
let saveLineup = !!event.shiftKey
195+
if (! saveLineup) {
196+
lineup.removePanelsRightOf(pid)
197+
}
195198
lineup.addPanel(panel)
196199
lineup.updateHash()
197200
} else {

0 commit comments

Comments
 (0)