Add a lagless hotbar cursor

- Highlight behind item may lag behind the
  new cursor, but the new cursor will show
  which slot you're trying to select when
  scrolling rapidly.
- Also fix the margins/centering for hotbar
  image.

Will have to see how this plays on the actual
MP server, where there's notable RTT lag.
This commit is contained in:
Aaron Suen 2020-09-04 13:55:13 -04:00
parent ca20aa5584
commit 1c0a9f1ade
3 changed files with 106 additions and 74 deletions

View File

@ -8,10 +8,12 @@ local modname = minetest.get_current_modname()
local hotbar_slots = 8
local bar_scale = 32
local bar_margin = 1
nodecore.register_playerstep({
label = "hotbar images",
action = function(player, data)
local bar = "[combine:" .. (hotbar_slots * bar_scale) .. "x" .. bar_scale
local bar = "[combine:" .. (hotbar_slots * bar_scale + bar_margin * 2)
.. "x" .. (bar_scale + bar_margin * 2)
local inv = player:get_inventory()
for i = 1, hotbar_slots do
local stack = inv:get_stack("main", i)
@ -20,9 +22,9 @@ nodecore.register_playerstep({
if def and def.hotbar_type then
suff = suff .. "_" .. def.hotbar_type
end
bar = bar .. ":" .. (i * bar_scale - bar_scale) .. ",0="
.. modname .. suff .. ".png\\^[resize\\:" .. bar_scale
.. "x" .. bar_scale
bar = bar .. ":" .. (i * bar_scale - bar_scale + bar_margin)
.. "," .. bar_margin .. "=" .. modname .. suff
.. ".png\\^[resize\\:" .. bar_scale .. "x" .. bar_scale
end
if data.slots ~= hotbar_slots then
@ -38,5 +40,5 @@ nodecore.register_playerstep({
})
nodecore.register_on_joinplayer("setup hotbar", function(player)
player:hud_set_hotbar_selected_image("[combine:1x1")
player:hud_set_hotbar_selected_image(modname .. "_cursor.png")
end)

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

View File

@ -10,9 +10,9 @@
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="103.83915mm"
height="146.90298mm"
viewBox="0 0 103.83915 146.90299"
width="143.29617mm"
height="146.903mm"
viewBox="0 0 143.29617 146.90301"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
@ -203,16 +203,6 @@
y1="257.21585"
x2="-178.47861"
y2="269.08185" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4546"
id="linearGradient2572"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(3.3218212,3.3218211,-3.3218211,3.3218211,1654.441,175.88816)"
x1="-178.47861"
y1="257.21585"
x2="-178.47861"
y2="269.08185" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4546"
@ -475,9 +465,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.44263227"
inkscape:cx="-9.4241685"
inkscape:cy="208.47989"
inkscape:zoom="1.6114006"
inkscape:cx="291.0161"
inkscape:cy="412.63249"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
@ -506,7 +496,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
@ -515,9 +505,45 @@
inkscape:groupmode="layer"
id="layer1"
transform="translate(201.57008,-217.93825)">
<g
id="g1093"
inkscape:export-filename="/home/warr/git/gitlab.com/sztest/nodecore/mods/nc_player_hud/textures/nc_player_hud_cursor.png"
inkscape:export-xdpi="24.09"
inkscape:export-ydpi="24.09">
<path
id="path1085"
transform="matrix(0.26458333,0,0,0.26458333,-201.57008,217.93825)"
d="m 387.93164,74.560547 -13.46484,3.607422 -3.60742,13.464843"
style="opacity:0;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<path
id="path1083"
transform="matrix(0.26458333,0,0,0.26458333,-201.57008,217.93825)"
d="m 361.79297,125.46289 -3.60742,13.46484 9.85547,9.85547"
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<path
id="path1081"
transform="matrix(0.26458333,0,0,0.26458333,-201.57008,217.93825)"
d="m 392.80859,173.55078 9.85547,9.85547 13.46485,-3.60742"
style="opacity:0;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<path
id="path1079"
transform="matrix(0.26458333,0,0,0.26458333,-201.57008,217.93825)"
d="m 449.95898,170.73242 13.46485,-3.60742 3.60742,-13.46484"
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<path
id="path1077"
transform="matrix(0.26458333,0,0,0.26458333,-201.57008,217.93825)"
d="m 476.09766,119.83008 3.60742,-13.46485 -9.85547,-9.855464"
style="opacity:0;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
<path
id="path1035"
transform="matrix(0.26458333,0,0,0.26458333,-201.57008,217.93825)"
d="m 445.08203,71.742188 -9.85547,-9.855469 -13.46484,3.607422"
style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:7.55905533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal" />
</g>
<g
style="stroke-width:1.00747669"
transform="matrix(0.99257889,0,0,0.99257879,39.438573,-14.647519)"
transform="matrix(0.99257889,0,0,0.99257879,39.697868,-14.647519)"
id="g4917-7-9"
inkscape:export-filename="/home/warr/git/gitlab.com/sztest/nodecore/mods/nc_player_hud/textures/nc_player_hud_bar.png"
inkscape:export-xdpi="395.28"
@ -766,50 +792,6 @@
inkscape:export-xdpi="24.704863"
inkscape:export-ydpi="24.704863" />
</g>
<g
style="stroke-width:1.00747669"
transform="matrix(0.99257887,0,0,0.99257885,39.438576,67.35483)"
id="g4917-7"
inkscape:export-filename="/home/warr/git/gitlab.com/sztest/nodecore/mods/nc_player_hud/textures/nc_player_hud_bar_burn.png"
inkscape:export-xdpi="395.28"
inkscape:export-ydpi="395.28">
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5059);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate"
d="m 217.94336,599.20312 c -0.32835,5.51785 -0.0211,10.4289 4.14258,11.79688 1.77346,0.58269 2.86779,-1.65531 4.17578,-3.47852 z m -15.62109,7.18555 -4.10743,15.33008 c 0.65942,3.50827 0.52356,8.65476 3.30274,9.84961 2.60077,1.11813 6.74341,-0.16316 8.0625,-2.66797 3.66877,-6.96653 -2.63304,-14.7403 -7.25781,-22.51172 z m 33.36914,10.56445 c -2.39697,4.76299 -6.03677,9.67957 -3.22266,13.21876 3.14952,3.96098 11.59395,3.97126 15.17773,0.39843 0.28701,-0.28613 0.53846,-0.58401 0.77344,-0.88867 z m -39.91602,13.875 -5.29297,19.75 8.31055,-2.22656 c 2.68222,-4.68832 -0.32692,-11.53723 -3.01758,-17.52344 z"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
id="path4762-3"
inkscape:connector-curvature="0" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5061);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate"
d="m 269.31641,571.74414 -51.14453,13.70508 c 0.8014,3.80177 0.0543,9.0006 -0.22852,13.75586 l 8.31836,8.31836 c 0.7465,-1.04074 1.56046,-1.94964 2.61328,-2.11328 2.83359,-0.44047 6.62693,0.67145 7.98828,3.19531 1.33629,2.47735 0.32027,5.38263 -1.17187,8.34765 l 12.72851,12.72852 c 6.40488,-8.3042 -5.86305,-23.27781 -1.57226,-33.45703 3.64236,-8.64092 12.23572,-3.65511 20.21093,-16.05469 z"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
id="path4762-7-61"
inkscape:connector-curvature="0" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5063);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate"
d="m 223.80078,526.22852 -14.54297,54.2832 c 1.7342,-0.5761 3.49017,-0.68358 5.12305,-0.0703 2.19641,0.8249 3.29319,2.64622 3.79102,5.00781 l 51.14453,-13.70508 z"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
id="path4762-7-2-2"
inkscape:connector-curvature="0" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5065);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate"
d="m 198.98242,590.58789 -54.01367,14.47461 45.51367,45.51562 5.29297,-19.75 c -2.819,-6.27172 -5.28322,-11.59418 -0.44727,-12.43945 1.80117,-0.31482 2.48816,1.2096 2.88672,3.33008 l 4.10743,-15.33008 c -3.04062,-5.10941 -5.36251,-10.21876 -3.62696,-15.0957 0.0829,-0.23289 0.18811,-0.46945 0.28711,-0.70508 z"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
id="path4762-7-3-93"
inkscape:connector-curvature="0" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5067);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate"
d="m 161.62695,542.88867 -16.6582,62.17383 54.01367,-14.47461 c 0.88407,-2.10418 2.38447,-4.28468 4.22266,-6.12109 z"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
id="path4762-7-3-9-1"
inkscape:connector-curvature="0" />
<path
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5069);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate"
d="m 223.80078,526.22852 -62.17383,16.66015 41.57813,41.57813 c 1.79718,-1.79544 3.90497,-3.24184 6.05078,-3.95508 z"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
id="path4762-7-3-9-2-9"
inkscape:connector-curvature="0" />
</g>
<g
id="g4961"
inkscape:export-filename="/home/warr/git/gitlab.com/sztest/nodecore/mods/nc_player_hud/textures/nc_player_hud_sel_burn.png"
@ -907,7 +889,7 @@
</g>
<g
id="g2988"
transform="translate(0,-1.0586507)"
transform="translate(0.25910548,-1.0586507)"
inkscape:export-filename="/home/warr/git/gitlab.com/sztest/nodecore/mods/nc_player_hud/textures/nc_player_hud_bar_injury.png"
inkscape:export-xdpi="395.28"
inkscape:export-ydpi="395.28">
@ -966,11 +948,59 @@
d="m -136.89988,277.6105 4.12106,6.12876 -2.6417,2.95871 2.85303,3.69839 -6.34009,4.22673 0.63401,6.6571 1.05668,-6.23443 6.97412,-2.53603 3.59272,2.3247 -1.90204,4.86073 1.79636,4.0154 0.10568,-4.43807 6.97409,0.42267 -5.60042,-2.43036 1.47936,-3.69839 -5.38907,-3.38139 -1.58504,-3.59272 3.48707,-4.01539 c 0.28178,-3.24049 0.56355,-6.48098 0.84534,-9.72147 z"
style="fill:none;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter2794)" />
</g>
<path
style="fill:none;stroke:#000000;stroke-width:0.69999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter3752)"
d="m -131.35229,350.83862 17.06541,-6.23442 c 0,0 3.04161,-20.98105 0.73969,-15.85024 -2.30192,5.1308 -5.04455,3.13397 -6.12876,5.70608 -1.17692,2.79206 2.35712,6.94823 0.21133,9.08747 -0.94821,0.94531 -3.18208,0.94234 -4.01539,-0.10567 -1.20807,-1.51934 2.08386,-3.99768 1.16235,-5.70608 -0.36019,-0.66777 -1.36364,-0.96189 -2.11336,-0.84535 -0.76649,0.11914 -1.05942,1.72148 -1.79636,1.47935 -2.64066,-0.8676 0.56342,-7.10829 -2.03865,-8.08555 -1.57477,-0.59144 -3.58602,1.28656 -4.15,2.87136 -1.15764,3.25299 4.48888,6.895 2.87999,9.95008 -0.34901,0.66273 -1.44514,1.00185 -2.13326,0.70601 -1.17977,-0.50722 -0.37285,-3.70817 -1.63786,-3.48706 -3.00603,0.52542 4.64058,7.57264 -0.85045,9.11522 -5.49103,1.54258 2.80532,1.3988 2.80532,1.3988 z"
id="path3422-5"
clip-path="url(#clipPath3700)"
inkscape:connector-curvature="0" />
<g
id="g1202"
transform="translate(0.25910878)">
<g
inkscape:export-ydpi="395.28"
inkscape:export-xdpi="395.28"
inkscape:export-filename="/home/warr/git/gitlab.com/sztest/nodecore/mods/nc_player_hud/textures/nc_player_hud_bar_burn.png"
id="g4917-7"
transform="matrix(0.99257887,0,0,0.99257885,39.438576,67.35483)"
style="stroke-width:1.00747669">
<path
inkscape:connector-curvature="0"
id="path4762-3"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
d="m 217.94336,599.20312 c -0.32835,5.51785 -0.0211,10.4289 4.14258,11.79688 1.77346,0.58269 2.86779,-1.65531 4.17578,-3.47852 z m -15.62109,7.18555 -4.10743,15.33008 c 0.65942,3.50827 0.52356,8.65476 3.30274,9.84961 2.60077,1.11813 6.74341,-0.16316 8.0625,-2.66797 3.66877,-6.96653 -2.63304,-14.7403 -7.25781,-22.51172 z m 33.36914,10.56445 c -2.39697,4.76299 -6.03677,9.67957 -3.22266,13.21876 3.14952,3.96098 11.59395,3.97126 15.17773,0.39843 0.28701,-0.28613 0.53846,-0.58401 0.77344,-0.88867 z m -39.91602,13.875 -5.29297,19.75 8.31055,-2.22656 c 2.68222,-4.68832 -0.32692,-11.53723 -3.01758,-17.52344 z"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5059);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path4762-7-61"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
d="m 269.31641,571.74414 -51.14453,13.70508 c 0.8014,3.80177 0.0543,9.0006 -0.22852,13.75586 l 8.31836,8.31836 c 0.7465,-1.04074 1.56046,-1.94964 2.61328,-2.11328 2.83359,-0.44047 6.62693,0.67145 7.98828,3.19531 1.33629,2.47735 0.32027,5.38263 -1.17187,8.34765 l 12.72851,12.72852 c 6.40488,-8.3042 -5.86305,-23.27781 -1.57226,-33.45703 3.64236,-8.64092 12.23572,-3.65511 20.21093,-16.05469 z"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5061);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path4762-7-2-2"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
d="m 223.80078,526.22852 -14.54297,54.2832 c 1.7342,-0.5761 3.49017,-0.68358 5.12305,-0.0703 2.19641,0.8249 3.29319,2.64622 3.79102,5.00781 l 51.14453,-13.70508 z"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5063);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path4762-7-3-93"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
d="m 198.98242,590.58789 -54.01367,14.47461 45.51367,45.51562 5.29297,-19.75 c -2.819,-6.27172 -5.28322,-11.59418 -0.44727,-12.43945 1.80117,-0.31482 2.48816,1.2096 2.88672,3.33008 l 4.10743,-15.33008 c -3.04062,-5.10941 -5.36251,-10.21876 -3.62696,-15.0957 0.0829,-0.23289 0.18811,-0.46945 0.28711,-0.70508 z"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5065);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path4762-7-3-9-1"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
d="m 161.62695,542.88867 -16.6582,62.17383 54.01367,-14.47461 c 0.88407,-2.10418 2.38447,-4.28468 4.22266,-6.12109 z"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5067);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate" />
<path
inkscape:connector-curvature="0"
id="path4762-7-3-9-2-9"
transform="matrix(0.26656152,0,0,0.26656153,-226.10409,110.17188)"
d="m 223.80078,526.22852 -62.17383,16.66015 41.57813,41.57813 c 1.79718,-1.79544 3.90497,-3.24184 6.05078,-3.95508 z"
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient5069);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;enable-background:accumulate" />
</g>
<path
inkscape:connector-curvature="0"
clip-path="url(#clipPath3700)"
id="path3422-5"
d="m -131.35229,350.83862 17.06541,-6.23442 c 0,0 3.04161,-20.98105 0.73969,-15.85024 -2.30192,5.1308 -5.04455,3.13397 -6.12876,5.70608 -1.17692,2.79206 2.35712,6.94823 0.21133,9.08747 -0.94821,0.94531 -3.18208,0.94234 -4.01539,-0.10567 -1.20807,-1.51934 2.08386,-3.99768 1.16235,-5.70608 -0.36019,-0.66777 -1.36364,-0.96189 -2.11336,-0.84535 -0.76649,0.11914 -1.05942,1.72148 -1.79636,1.47935 -2.64066,-0.8676 0.56342,-7.10829 -2.03865,-8.08555 -1.57477,-0.59144 -3.58602,1.28656 -4.15,2.87136 -1.15764,3.25299 4.48888,6.895 2.87999,9.95008 -0.34901,0.66273 -1.44514,1.00185 -2.13326,0.70601 -1.17977,-0.50722 -0.37285,-3.70817 -1.63786,-3.48706 -3.00603,0.52542 4.64058,7.57264 -0.85045,9.11522 -5.49103,1.54258 2.80532,1.3988 2.80532,1.3988 z"
style="fill:none;stroke:#000000;stroke-width:0.69999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter3752)" />
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 61 KiB