Mouse highlight now follows selection

db4
Slava Pestov 2008-12-21 14:10:09 -06:00
parent 578e2d7081
commit 37118a4cde
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ M: table model-changed
: (select-row) ( table row -- )
over validate-row
[ [ thin-row-rect ] [ drop ] 2bi scroll>rect ]
[ >>selected-index relayout-1 ]
[ [ >>selected-index ] [ >>mouse-index ] bi relayout-1 ]
2bi ;
: mouse-row ( table -- n )