tree: blink selection when hitting "t" too
This commit is contained in:
parent
c3f466d652
commit
c89252f4cc
3 changed files with 15 additions and 7 deletions
|
|
@ -223,6 +223,18 @@ class UiTree extends UiWidget {
|
|||
|
||||
}
|
||||
|
||||
blinkSelected() {
|
||||
|
||||
DOM.each(this.list, '.editing', (el)=>{
|
||||
el.classList.add('editor-blink')
|
||||
el.scrollIntoView({block: 'center'})
|
||||
setTimeout(()=>{
|
||||
el.classList.remove('editor-blink')
|
||||
}, 800)
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
select() {
|
||||
|
||||
// hint selection in folded containers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue