Skip to content

Commit

Permalink
appease linter
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittrock committed Apr 28, 2024
1 parent 7e6053c commit 23f4bc6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/controller.bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,7 @@ export default class BarController extends DatasetController {
let i = 0;

for (; i < ilen; ++i) {
if (this.getParsed(i)[vScale.axis] !== null) {
if(rects[i].hidden) continue;
if (this.getParsed(i)[vScale.axis] !== null && !rects[i].hidden) {
rects[i].draw(this._ctx);
}
}
Expand Down

0 comments on commit 23f4bc6

Please sign in to comment.