File tree Expand file tree Collapse file tree
src/vs/workbench/browser/actions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ class ToggleScreencastModeAction extends Action2 {
128128
129129 let style = new Option ( ) . style ;
130130 style . color = mouseIndicatorColor ;
131- mouseMarker . style . borderColor = ( mouseIndicatorColor === '' || ! style . color ) ? 'red ' : mouseIndicatorColor ;
131+ mouseMarker . style . borderColor = ( mouseIndicatorColor === '' || ! style . color ) ? '#ff0000 ' : mouseIndicatorColor ;
132132 } ;
133133
134134 let mouseIndicatorSize : number ;
@@ -325,8 +325,9 @@ configurationRegistry.registerConfiguration({
325325 } ,
326326 'screencastMode.mouseIndicatorColor' : {
327327 type : 'string' ,
328- default : 'red' ,
329- description : nls . localize ( 'screencastMode.mouseIndicatorColor' , "Controls the color (string or Hex) of the mouse indicator in screencast mode." )
328+ format : 'color-hex' ,
329+ default : '#ff0000' ,
330+ description : nls . localize ( 'screencastMode.mouseIndicatorColor' , "Controls the color (Hex) of the mouse indicator in screencast mode." )
330331 } ,
331332 'screencastMode.mouseIndicatorSize' : {
332333 type : 'number' ,
You can’t perform that action at this time.
0 commit comments