Skip to content

Commit

Permalink
Switch to Bool
Browse files Browse the repository at this point in the history
Co-authored-by: martinRenou <[email protected]>
  • Loading branch information
AnyaPorter and martinRenou committed Sep 4, 2024
1 parent d56edd8 commit e9fb217
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1110,13 +1110,6 @@ export class CanvasModel extends DOMWidgetModel {
);
value = await widgetModel.initialized();
}
if (CanvasModel.ATTRS[attr] === 'imageSmoothingEnabled') {
if (value === 'True') {
value=true;
} else {
value=false;
}
}
(this.ctx as any)[CanvasModel.ATTRS[attr]] = value;
}

Expand Down

0 comments on commit e9fb217

Please sign in to comment.