From 83f86da0e123ab27f03d2b5a08d24f0dda3fd3cd Mon Sep 17 00:00:00 2001 From: TicTacToe_sst Date: Wed, 14 Aug 2024 17:38:37 +0530 Subject: [PATCH] fix: added 'blocklyHighlighted' CSS class to highlighted block's root svg --- core/renderers/geras/path_object.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/renderers/geras/path_object.ts b/core/renderers/geras/path_object.ts index 99d7b478377..321302a265a 100644 --- a/core/renderers/geras/path_object.ts +++ b/core/renderers/geras/path_object.ts @@ -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'; } }