Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit f1b2f0f

Browse files
committed
Use mc help svg
1 parent 3165582 commit f1b2f0f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

postcss.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ var mapUrl = require("postcss-url-mapper");
66
const debug = require("debug")("launchpad");
77

88
function mapUrlProduction(url) {
9-
const newUrl = url.replace(
10-
/\/images\//,
11-
"chrome://devtools/skin/images/debugger/"
12-
);
9+
const newUrl = url
10+
.replace(/\/images\//, "chrome://devtools/skin/images/debugger/")
11+
.replace(/\/mc\//, "chrome://devtools/skin/images/");
12+
1313
debug("map url", { url, newUrl });
1414
return newUrl;
1515
}

src/components/SecondaryPanes/CommandBar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ img.shortcuts {
109109
}
110110

111111
.command-bar img.shortcuts {
112-
mask: url(/images/help.svg) no-repeat;
112+
mask: url(/mc/help.svg) no-repeat;
113113
}
114114

115115
.command-bar .replay-inactive {

0 commit comments

Comments
 (0)