Skip to content

Commit f549daa

Browse files
committed
1 parent 45e6a5e commit f549daa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/vs/workbench/browser/actions/developerActions.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)