From f1b2f0f78f25d893d473c367e45c517b158a94e0 Mon Sep 17 00:00:00 2001 From: Jason Laster Date: Thu, 12 Apr 2018 11:22:49 -0400 Subject: [PATCH] Use mc help svg --- postcss.config.js | 8 ++++---- src/components/SecondaryPanes/CommandBar.css | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/postcss.config.js b/postcss.config.js index e9f28f8464..8dd2f2e969 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -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; } diff --git a/src/components/SecondaryPanes/CommandBar.css b/src/components/SecondaryPanes/CommandBar.css index db30fd1610..339a3c994f 100644 --- a/src/components/SecondaryPanes/CommandBar.css +++ b/src/components/SecondaryPanes/CommandBar.css @@ -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 {