File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 111111 uiStore.activeChunkId === chunk.chunkId,
112112 }"
113113 draggable =" true"
114- @click =" handleChunkItemClick(chunk.chunkId, $event )"
114+ @click =" handleChunkItemClick(chunk.chunkId)"
115115 @dragstart ="
116116 handleChunkDragStart($event, chunk.chunkId)
117117 "
@@ -262,14 +262,8 @@ function handleToggleExpand(doc: LogDocument) {
262262 logStore .updateDocument (doc .docId , { isExpanded: ! doc .isExpanded });
263263}
264264
265- function handleChunkItemClick(chunkId : string , event : MouseEvent ) {
265+ function handleChunkItemClick(chunkId : string ) {
266266 uiStore .setActiveChunk (chunkId );
267-
268- if (event .metaKey || event .ctrlKey ) {
269- filterTool .toggleChunkSelection (chunkId );
270- return ;
271- }
272-
273267 filterTool .setActiveChunkSelection (chunkId );
274268}
275269
@@ -482,8 +476,7 @@ function handleChunkDragEnd() {
482476}
483477
484478.chunk-item.is-selected :not (.is-active ) {
485- background-color : var (--hover-bg );
486- box-shadow : inset 2px 0 0 var (--active-accent );
479+ background-color : var (--inactive-accent );
487480}
488481
489482.chunk-name {
You can’t perform that action at this time.
0 commit comments