File tree 1 file changed +2
-12
lines changed
pxtblocks/plugins/renderer 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ export class ConstantProvider extends Blockly.zelos.ConstantProvider {
19
19
/**
20
20
* Color of the glow outline around highlighted blocks.
21
21
*/
22
- HIGHLIGHT_GLOW_COLOUR = '#ffa200 ' ;
22
+ HIGHLIGHT_GLOW_COLOUR = '#FFF200 ' ;
23
23
24
24
ERROR_HIGHLIGHT_GLOW_COLOR = '#FF0000' ;
25
25
26
26
/**
27
27
* The width of the glow outline around highlighted blocks.
28
28
*/
29
- HIGHLIGHT_GLOW_SIZE = 0.5 ;
29
+ HIGHLIGHT_GLOW_SIZE = 1.1 ;
30
30
31
31
/**
32
32
* Radius of SVG path for ellipses in collapsed blocks.
@@ -62,16 +62,6 @@ export class ConstantProvider extends Blockly.zelos.ConstantProvider {
62
62
63
63
this . embossFilterOverride = this . createOutline ( defs , "blocklyBubbleEmbossGlowFilter" )
64
64
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
- }
75
65
}
76
66
77
67
dispose ( ) : void {
You can’t perform that action at this time.
0 commit comments