diff --git a/UI/BigComponents/RightControls.ts b/UI/BigComponents/RightControls.ts index 10e86c914..b98748017 100644 --- a/UI/BigComponents/RightControls.ts +++ b/UI/BigComponents/RightControls.ts @@ -23,18 +23,14 @@ export default class RightControls extends Combine { ); const plus = new MapControlButton( - Svg.plus_svg(),{ - dontStyle:true - } + Svg.plus_svg() ).onClick(() => { State.state.locationControl.data.zoom++; State.state.locationControl.ping(); }); const min = new MapControlButton( - Svg.min_svg(),{ - dontStyle: true - } + Svg.min_svg() ).onClick(() => { State.state.locationControl.data.zoom--; State.state.locationControl.ping(); diff --git a/assets/svg/min.svg b/assets/svg/min.svg index e038aa291..0085c69ea 100644 --- a/assets/svg/min.svg +++ b/assets/svg/min.svg @@ -5,16 +5,12 @@ 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="98" - height="98" - viewBox="0 0 98 98" - version="1.1" + style="fill:none" id="svg132" - sodipodi:docname="min.svg" - inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)" - style="fill:none"> + version="1.1" + viewBox="0 0 98 98" + height="98" + width="98"> @@ -27,246 +23,217 @@ - - - + width="25.4126" + y="52.703999" + x="58.84" + id="filter0_d"> + flood-opacity="0" /> - - - + + + + type="matrix" /> + in2="BackgroundImageFix" + mode="normal" /> + in2="effect1_dropShadow" + in="SourceGraphic" + mode="normal" /> + width="38.000099" + y="15" + x="14" + id="filter1_d"> + flood-opacity="0" /> - - - + + + + type="matrix" /> + in2="BackgroundImageFix" + mode="normal" /> + in2="effect1_dropShadow" + in="SourceGraphic" + mode="normal" /> + width="53" + y="7" + x="39.5" + id="filter2_d"> + flood-opacity="0" /> - - - + + + + type="matrix" /> + in2="BackgroundImageFix" + mode="normal" /> + in2="effect1_dropShadow" + in="SourceGraphic" + mode="normal" /> + width="54.766701" + y="54" + x="11" + id="filter3_d"> + flood-opacity="0" /> - - - + + + + type="matrix" /> + in2="BackgroundImageFix" + mode="normal" /> + in2="effect1_dropShadow" + in="SourceGraphic" + mode="normal" /> + height="29" + width="28" + y="64" + x="41" + id="filter4_d"> + flood-opacity="0" /> - - - + + + + type="matrix" /> + in2="BackgroundImageFix" + mode="normal" /> + in2="effect1_dropShadow" + in="SourceGraphic" + mode="normal" /> + x="0" + id="rect127" + transform="rotate(-45,57.35965,-37.759145)" + height="31.819799" + width="31.819799" /> + d="m 12.498047,37.320312 a 11.909361,11.909361 0 1 0 0,23.816407 h 73.132812 a 11.909361,11.909361 0 1 0 0,-23.816407 z" + style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:23.81633949;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> diff --git a/assets/svg/plus.svg b/assets/svg/plus.svg index ff5024ba6..eb7a5e635 100644 --- a/assets/svg/plus.svg +++ b/assets/svg/plus.svg @@ -1,277 +1,20 @@ - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + id="defs8" /> + d="m 12.078125,36.966797 a 11.909361,11.909361 0 1 0 0,23.816406 h 73.130859 a 11.909361,11.909361 0 1 0 0,-23.816406 z" + style="color:#000000;" /> + d="M 48.34375,0.00195313 A 11.909361,11.909361 0 0 0 36.613281,12.078125 v 73.130859 a 11.909361,11.909361 0 1 0 23.816407,0 V 12.078125 A 11.909361,11.909361 0 0 0 48.34375,0.00195313 Z" + style="color:#000000;"/>