diff --git a/core/renderers/geras/path_object.ts b/core/renderers/geras/path_object.ts index 6b058e5a752..62f721c954b 100644 --- a/core/renderers/geras/path_object.ts +++ b/core/renderers/geras/path_object.ts @@ -108,9 +108,11 @@ export class PathObject extends BasePathObject { 'filter', 'url(#' + this.constants.embossFilterId + ')', ); + this.svgRoot.classList.add('blocklyHighlighted'); this.svgPathLight.style.display = 'none'; } else { this.svgPath.setAttribute('filter', 'none'); + this.svgRoot.classList.remove('blocklyHighlighted'); this.svgPathLight.style.display = 'inline'; } }