mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 04:48:12 +08:00
fix bug in fillBySelection
This commit is contained in:
@@ -214,7 +214,8 @@ class BitArray {
|
|||||||
const bitmask = this.bitmask[0];
|
const bitmask = this.bitmask[0];
|
||||||
const bitarray = this.bitarray;
|
const bitarray = this.bitarray;
|
||||||
for (let i = 0, len = this.length; i < len; i++) {
|
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 {
|
} else {
|
||||||
for (let i = 0, len = this.length; i < len; i++) {
|
for (let i = 0, len = this.length; i < len; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user