jenkins-bot has submitted this change and it was merged.

Change subject: Fix broken switcher icons in alpha for VE
......................................................................


Fix broken switcher icons in alpha for VE

Bug: 73057
Change-Id: If1b7f3f12605f7d181c67cce65c1c4e712d7fc65
---
M javascripts/modules/editor/EditorOverlayBase.js
M less/images/icons/editToggle.png
M less/images/icons/editToggle.svg
3 files changed, 65 insertions(+), 5 deletions(-)

Approvals:
  Bmansurov: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/javascripts/modules/editor/EditorOverlayBase.js 
b/javascripts/modules/editor/EditorOverlayBase.js
index 90de1a7..f0c1890 100644
--- a/javascripts/modules/editor/EditorOverlayBase.js
+++ b/javascripts/modules/editor/EditorOverlayBase.js
@@ -14,7 +14,7 @@
        EditorOverlayBase = Overlay.extend( {
                defaults: $.extend( {}, Overlay.prototype.defaults, {
                        switcherButton: new Icon( { tagName: 'button',
-                               name: 'edit-source', additionalClassNames: 
'editor-switcher' } ).toHtmlString(),
+                               name: 'edit-switch', additionalClassNames: 
'editor-switcher' } ).toHtmlString(),
                        sourceButton: new Icon( { name: 'edit-source', 
additionalClassNames: 'icon-32px' } ).toHtmlString(),
                        veButton: new Icon( { name: 'edit-ve', 
additionalClassNames: 'icon-32px' } ).toHtmlString(),
                        continueMsg: mw.msg( 'mobile-frontend-editor-continue' 
),
diff --git a/less/images/icons/editToggle.png b/less/images/icons/editToggle.png
index 60810a6..764a545 100644
--- a/less/images/icons/editToggle.png
+++ b/less/images/icons/editToggle.png
Binary files differ
diff --git a/less/images/icons/editToggle.svg b/less/images/icons/editToggle.svg
index ea195b5..de1344e 100644
--- a/less/images/icons/editToggle.svg
+++ b/less/images/icons/editToggle.svg
@@ -1,5 +1,65 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg xmlns="http://www.w3.org/2000/svg"; width="850" height="606.667" 
viewBox="2.5 791.5 850.00001 606.667" enable-background="new 2.5 791.5 606.667 
606.667">
-    <path d="M513.5 
1135.041v-76.082l-46.687-7.782c-3.46-12.536-8.646-24.64-14.699-35.447l27.235-38.474-53.604-54.037-38.475
 27.235c-11.238-6.053-22.911-11.24-35.447-14.699l-7.782-46.255h-76.082l-7.782 
46.688c-12.536 3.458-24.64 8.646-35.447 14.698l-38.474-27.234-54.037 53.604 
27.235 38.474c-6.053 11.239-11.24 22.911-14.699 35.88l-46.255 
7.35v76.082l46.255 7.782c3.458 12.536 8.646 24.64 14.699 35.88l-27.235 38.474 
53.604 53.605 38.474-27.235c11.24 6.052 22.911 11.239 35.88 14.697l7.782 
46.256h76.082l7.782-46.687c12.536-3.46 24.64-8.646 35.447-14.699l38.475 27.235 
53.604-53.604-27.235-38.475c6.053-11.238 11.239-22.911 
14.699-35.88l46.687-7.35zm-207.5 41.5c-44.094 0-79.541-35.879-79.541-79.541 
0-44.094 35.879-79.541 79.541-79.541s79.541 35.447 79.541 79.541c0 
44.095-35.446 79.541-79.541 79.541z" fill="#555"/>
-    <path fill-rule="evenodd" d="M670.97 1157.195l67.144-114.595h-134.307z" 
fill="#414141"/>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/";
+   xmlns:cc="http://creativecommons.org/ns#";
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+   xmlns:svg="http://www.w3.org/2000/svg";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   width="639.61401"
+   height="415.00101"
+   viewBox="2.5 791.5 639.61402 415.00101"
+   enable-background="new 2.5 791.5 606.667 606.667"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.5 r10040"
+   sodipodi:docname="editToggle.svg">
+  <metadata
+     id="metadata12">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <defs
+     id="defs10" />
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview8"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:zoom="0.38588235"
+     inkscape:cx="329"
+     inkscape:cy="209.6675"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="0"
+     inkscape:current-layer="svg2" />
+  <path
+     d="m 417.5,1037.041 v -76.082 l -46.687,-7.782 c -3.46,-12.536 
-8.646,-24.64 -14.699,-35.447 l 27.235,-38.474 -53.604,-54.037 -38.475,27.235 c 
-11.238,-6.053 -22.911,-11.24 -35.447,-14.699 L 248.041,791.5 h -76.082 l 
-7.782,46.688 c -12.536,3.458 -24.64,8.646 -35.447,14.698 L 90.256,825.652 
36.219,879.256 63.454,917.73 c -6.053,11.239 -11.24,22.911 -14.699,35.88 l 
-46.2550005,7.35 v 76.082 L 48.755,1044.824 c 3.458,12.536 8.646,24.64 
14.699,35.88 l -27.235,38.474 53.604,53.605 38.474,-27.235 c 11.24,6.052 
22.911,11.239 35.88,14.697 l 7.782,46.256 h 76.082 l 7.782,-46.687 c 
12.536,-3.46 24.64,-8.646 35.447,-14.699 l 38.475,27.235 53.604,-53.604 
-27.235,-38.475 c 6.053,-11.238 11.239,-22.911 14.699,-35.88 l 46.687,-7.35 z m 
-207.5,41.5 c -44.094,0 -79.541,-35.879 -79.541,-79.541 0,-44.094 
35.879,-79.541 79.541,-79.541 43.662,0 79.541,35.447 79.541,79.541 0,44.095 
-35.446,79.541 -79.541,79.541 z"
+     id="path4"
+     inkscape:connector-curvature="0"
+     style="fill:#555555" />
+  <path
+     d="M 574.97,1059.195 642.114,944.6 H 507.807 z"
+     id="path6"
+     inkscape:connector-curvature="0"
+     style="fill:#414141;fill-rule:evenodd" />
 </svg>

-- 
To view, visit https://gerrit.wikimedia.org/r/171983
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If1b7f3f12605f7d181c67cce65c1c4e712d7fc65
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Awjrichards <[email protected]>
Gerrit-Reviewer: Bmansurov <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to