Skip to content

Commit

Permalink
fix: added 'blocklyHighlighted' CSS class to highlighted block's root…
Browse files Browse the repository at this point in the history
… svg
  • Loading branch information
Shreshthaaa committed Aug 14, 2024
1 parent 28d17db commit 83f86da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/renderers/geras/path_object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,8 @@ export class PathObject extends BasePathObject {
override updateHighlighted(highlighted: boolean) {
super.updateHighlighted(highlighted);
if (highlighted) {
this.svgPath.setAttribute(
'filter',
'url(#' + this.constants.embossFilterId + ')',
);
this.svgPathLight.style.display = 'none';
} else {
this.svgPath.setAttribute('filter', 'none');
this.svgPathLight.style.display = 'inline';
}
}
Expand Down

0 comments on commit 83f86da

Please sign in to comment.