feat: close button in the history panel header

Co-Authored-By: Ovis Fast (Claude) <[email protected]>
This commit is contained in:
FactorandOvis Fast committed 2026-11-19 12:35:50 +01:00
1 parent 02d579c8b8
commit 75025c2406
2 files changed
+22

No files matched your search

+6
View File
@@ -2191,6 +2191,12 @@ export default class Composer extends View {
pick: (key, cx) => this.panelPickKey(key, cx),
toggle: (key, cx) => this.panelToggleKey(key, cx),
clear: (cx) => this.panelClear(cx),
// The close button: what Esc does - the field gets the keyboard, the
// caret and the height of the block back.
close: (cx) => {
this.closePanel();
cx.notify();
},
}),
);
}