mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-24 18:38:11 +08:00
fix bug in fillBySelection
This commit is contained in:
@@ -214,7 +214,8 @@ class BitArray {
|
||||
const bitmask = this.bitmask[0];
|
||||
const bitarray = this.bitarray;
|
||||
for (let i = 0, len = this.length; i < len; i++) {
|
||||
result[i] = bitarray[i] === bitmask ? selectedValue : deselectedValue;
|
||||
result[i] =
|
||||
bitmask && bitarray[i] === bitmask ? selectedValue : deselectedValue;
|
||||
}
|
||||
} else {
|
||||
for (let i = 0, len = this.length; i < len; i++) {
|
||||
|
||||
Reference in New Issue
Block a user