@locator/runtime
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -22,3 +22,3 @@ "use strict"; | ||
navigator.platform.toUpperCase().indexOf("MAC") >= 0; | ||
var altTitle = isMac ? "Option" : "Alt"; | ||
var altTitle = isMac ? "⌥ Option" : "Alt"; | ||
var allTargets = { | ||
@@ -349,3 +349,3 @@ vscode: { | ||
controls.style.color = "#baa"; | ||
controls.innerHTML = "<div><b>".concat(altTitle, "+d:</b> enable/disable Locator<br /><b>Press and hold ").concat(altTitle, ":</b> make boxes clickable on full surface </div>"); | ||
controls.innerHTML = "<div><b>".concat(altTitle, " + d:</b> enable/disable Locator<br /><b>Press and hold ").concat(altTitle, ":</b> make boxes clickable on full surface </div>"); | ||
modal.appendChild(controls); | ||
@@ -352,0 +352,0 @@ var selector = document.createElement("div"); |
{ | ||
"name": "@locator/runtime", | ||
"main": "dist/index.js", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"scripts": { | ||
@@ -21,3 +21,3 @@ "test": "jest tests/", | ||
"license": "MIT", | ||
"gitHead": "8066191bc20837854704477c43a7720e2a374eeb" | ||
"gitHead": "b6bb42547b5caaecac3f7cbf94b39c874363a9f0" | ||
} |
@@ -13,3 +13,3 @@ type LocatorJSMode = "disabled" | "hidden" | "minimal" | "options"; | ||
navigator.platform.toUpperCase().indexOf("MAC") >= 0; | ||
const altTitle = isMac ? "Option" : "Alt"; | ||
const altTitle = isMac ? "⌥ Option" : "Alt"; | ||
type Target = { | ||
@@ -435,3 +435,3 @@ url: string; | ||
controls.style.color = "#baa"; | ||
controls.innerHTML = `<div><b>${altTitle}+d:</b> enable/disable Locator<br /><b>Press and hold ${altTitle}:</b> make boxes clickable on full surface </div>`; | ||
controls.innerHTML = `<div><b>${altTitle} + d:</b> enable/disable Locator<br /><b>Press and hold ${altTitle}:</b> make boxes clickable on full surface </div>`; | ||
modal.appendChild(controls); | ||
@@ -438,0 +438,0 @@ |
35333