mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-31 08:13:11 +03:00
chore(tui): remove redundant picker comment
This commit is contained in:
@@ -137,9 +137,6 @@ export class PickerMenu<T> {
|
|||||||
? { backgroundColor: RGBA.fromHex(this.theme.selectedBackground) }
|
? { backgroundColor: RGBA.fromHex(this.theme.selectedBackground) }
|
||||||
: {}),
|
: {}),
|
||||||
attributes: selected ? TextAttributes.BOLD : 0,
|
attributes: selected ? TextAttributes.BOLD : 0,
|
||||||
// OpenTUI rechecks hover after rows are rebuilt. Treating that synthetic
|
|
||||||
// `over` as pointer intent would undo a keyboard move whenever the mouse
|
|
||||||
// remains over the previously selected row.
|
|
||||||
onMouseMove: () => {
|
onMouseMove: () => {
|
||||||
if (this.selected === index) return
|
if (this.selected === index) return
|
||||||
this.selected = index
|
this.selected = index
|
||||||
|
|||||||
Reference in New Issue
Block a user