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

Commit

Permalink
Use mc help svg
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonLaster committed Apr 12, 2018
1 parent 3165582 commit f1b2f0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ var mapUrl = require("postcss-url-mapper");
const debug = require("debug")("launchpad");

function mapUrlProduction(url) {
const newUrl = url.replace(
/\/images\//,
"chrome://devtools/skin/images/debugger/"
);
const newUrl = url
.replace(/\/images\//, "chrome://devtools/skin/images/debugger/")
.replace(/\/mc\//, "chrome://devtools/skin/images/");

debug("map url", { url, newUrl });
return newUrl;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/SecondaryPanes/CommandBar.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ img.shortcuts {
}

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

.command-bar .replay-inactive {
Expand Down

0 comments on commit f1b2f0f

Please sign in to comment.