File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/cursorless-vscode/src/ide/vscode/hats Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ function getFontRatios(extensionContext: vscode.ExtensionContext) {
70
70
} ,
71
71
) ;
72
72
73
- const font_measurement_js = panel . webview . asWebviewUri (
73
+ const fontMeasurementJs = panel . webview . asWebviewUri (
74
74
vscode . Uri . joinPath (
75
75
extensionContext . extensionUri ,
76
76
"resources" ,
77
77
"font_measurements.js" ,
78
78
) ,
79
79
) ;
80
- panel . webview . html = getWebviewContent ( panel . webview , font_measurement_js ) ;
80
+ panel . webview . html = getWebviewContent ( panel . webview , fontMeasurementJs ) ;
81
81
82
82
interface FontRatios {
83
83
/**
@@ -112,7 +112,7 @@ function getFontFamily() {
112
112
113
113
function getWebviewContent (
114
114
webview : vscode . Webview ,
115
- font_measurement_js : vscode . Uri ,
115
+ fontMeasurementJs : vscode . Uri ,
116
116
) {
117
117
// baseline adjustment based on https://stackoverflow.com/a/27295528
118
118
return `<!DOCTYPE html>
@@ -126,7 +126,7 @@ function getWebviewContent(
126
126
<div id="container">
127
127
<span id="letter" style="line-height: 0; visibility:hidden; font-size: 1000px; font-family: var(--vscode-editor-font-family); font-weight: var(--vscode-editor-font-weight);">A</span>
128
128
</div>
129
- <script src="${ font_measurement_js } "></script>
129
+ <script src="${ fontMeasurementJs } "></script>
130
130
</body>
131
131
</html>` ;
132
132
}
You can’t perform that action at this time.
0 commit comments