Browse Source

fix: active border

pull/8387/head
mertmit 7 months ago
parent
commit
593262ab88
  1. 4
      packages/nc-gui/composables/useMultiSelect/index.ts

4
packages/nc-gui/composables/useMultiSelect/index.ts

@ -360,6 +360,10 @@ export function useMultiSelect(
*/ */
const map: Record<string, boolean> = {} const map: Record<string, boolean> = {}
if (activeCell.row !== null && activeCell.col !== null) {
map[`${activeCell.row}-${activeCell.col}`] = true
}
if (selectedRange._start === null || selectedRange._end === null) { if (selectedRange._start === null || selectedRange._end === null) {
return map return map
} }

Loading…
Cancel
Save