Skip to content

Commit 4a542e9

Browse files
Revert changes that are not required / workarounds
1 parent 0eaa51e commit 4a542e9

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

pxtblocks/plugins/renderer/constants.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ export class ConstantProvider extends Blockly.zelos.ConstantProvider {
1919
/**
2020
* Color of the glow outline around highlighted blocks.
2121
*/
22-
HIGHLIGHT_GLOW_COLOUR = '#ffa200';
22+
HIGHLIGHT_GLOW_COLOUR = '#FFF200';
2323

2424
ERROR_HIGHLIGHT_GLOW_COLOR = '#FF0000';
2525

2626
/**
2727
* The width of the glow outline around highlighted blocks.
2828
*/
29-
HIGHLIGHT_GLOW_SIZE = 0.5;
29+
HIGHLIGHT_GLOW_SIZE = 1.1;
3030

3131
/**
3232
* Radius of SVG path for ellipses in collapsed blocks.
@@ -62,16 +62,6 @@ export class ConstantProvider extends Blockly.zelos.ConstantProvider {
6262

6363
this.embossFilterOverride = this.createOutline(defs, "blocklyBubbleEmbossGlowFilter")
6464
this.embossFilterId = this.embossFilterOverride.id
65-
66-
if (injectionDivIfIsParent) {
67-
// If this renderer is for the parent workspace, add CSS variables scoped
68-
// to the injection div referencing the created patterns so that CSS can
69-
// apply the patterns to any element in the injection div.
70-
injectionDivIfIsParent.style.setProperty(
71-
'--blocklySelectedGlowFilter',
72-
`url(#${this.highlightOutlineFilterId})`,
73-
);
74-
}
7565
}
7666

7767
dispose(): void {

0 commit comments

Comments
 (0)