Fix collinear segment on Hepsiemlak (#10619)

This commit is contained in:
Álvaro Mondéjar 2024-03-13 01:10:03 +01:00 committed by GitHub
parent 52f208a586
commit 0c847d8589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View File

@ -4,8 +4,5 @@
},
"icon-size": {
"M22.915 8.321c-.642-.997-1.542-1.879-2.672-2.624-2.185-1.436-5.056-2.227-8.084-2.227-1.012 0-2.009.088-2.976.262a9.84 9.84 0 0 0-2.046-1.509C4.378.848 1.947 1.361.719 1.802a.59.59 0 0 0-.229.964c.866.894 2.299 2.66 1.946 4.267C1.067 8.431.324 10.117.324 11.872c0 1.789.742 3.475 2.112 4.873.352 1.607-1.081 3.374-1.947 4.268a.589.589 0 0 0 .229.963c1.228.442 3.659.955 6.418-.421a9.892 9.892 0 0 0 2.046-1.509c.968.174 1.964.262 2.976.262 3.029 0 5.9-.79 8.084-2.226 1.131-.744 2.031-1.626 2.672-2.624.715-1.11 1.077-2.306 1.077-3.552.001-1.279-.361-2.473-1.076-3.585zm-10.881 9.916c-1.309 0-2.558-.169-3.696-.474l-.832.8A7.609 7.609 0 0 1 5.972 19.7a6.033 6.033 0 0 1-2.17.613c.041-.073.078-.147.117-.221.833-1.531 1.059-2.907.674-4.128-1.363-1.071-2.181-2.442-2.181-3.935 0-3.427 4.308-6.206 9.621-6.206 5.313 0 9.622 2.779 9.622 6.206.001 3.429-4.307 6.208-9.621 6.208zM8.85 12.01c0 .777-.635 1.407-1.418 1.407-.783 0-1.418-.63-1.418-1.407s.635-1.407 1.418-1.407c.783 0 1.418.63 1.418 1.407zm4.563 0c0 .777-.635 1.407-1.418 1.407-.783 0-1.418-.63-1.418-1.407s.635-1.407 1.418-1.407c.783 0 1.418.63 1.418 1.407zm4.565 0c0 .777-.635 1.407-1.418 1.407-.783 0-1.418-.63-1.418-1.407s.635-1.407 1.418-1.407c.783 0 1.418.63 1.418 1.407z": "Rocket.Chat"
},
"collinear-segments": {
"M9.7214 14.9904c0 .4768-.3982.7843-1.0803.7843-.3203 0-.74-.06-1.0463-.272l.2502-.4716c.2016.1308.4467.2262.8009.2262.2943 0 .4348-.081.4348-.217 0-.1109-.1188-.1736-.3911-.2122l-.1916-.0257c-.5435-.074-.8131-.3076-.8131-.7024 0-.4745.3739-.7553.9927-.7553.341-.0064.6784.0689.9832.2191l-.2137.4853c-.1882-.0905-.4852-.1848-.7499-.1885-.2405 0-.3618.0835-.3618.21 0 .1334.1697.1667.3836.1977l.2087.031c.51.0761.7937.3001.7937.6911zm-2.2784-.4613c0 .6757-.4832 1.1846-1.1238 1.1846-.312 0-.5322-.1184-.6832-.2929v.9614h-.6234v-2.9774h.611v.2486c.1514-.1838.374-.3091.693-.3091.6421 0 1.1264.5087 1.1264 1.1848zm-.6423 0c0-.3436-.23-.6202-.5991-.6202-.3549 0-.597.2646-.597.6202 0 .355.2421.6203.597.6203.3691 0 .5991-.2767.5991-.6203zm-2.0919.0277a1.7387 1.7387 0 0 1-.0121.2086H3.0679c.0666.3327.299.4805.5906.4805a.9243.9243 0 0 0 .5808-.2217l.363.4005c-.2612.2406-.5928.35-.9796.35-.704 0-1.1923-.4803-1.1923-1.208 0-.7276.474-1.2224 1.1618-1.2224.6617 0 1.1138.4933 1.1166 1.2125zm-.6213-.214c-.0567-.2956-.2347-.4623-.5-.4623-.292 0-.4626.1762-.517.4623h1.017zm6.0897 1.368h.6076v-2.2784h-.6076v2.2785zM4.709 14.5572v-.0014l-.0001.001v.0004zm.6076-4.4447 2.87 2.518 1.2312-1.415-4.1012-3.5977-4.1012 3.5978 1.2311 1.4149 2.8701-2.518zm-3.976 3.2444c-.2637 0-.52.0804-.6916.3077l.0004-.9898H0v3.038h.649v-1.2574c0-.3457.2315-.5186.5099-.5186.2964 0 .4703.1836.4703.5142v1.262h.6493V14.252c0-.5328-.3905-.8953-.938-.8953zm16.5835 2.3558h.6076v-3.0379h-.6076v3.038zm5.1964-1.2163.871-1.0811-.7676.0005-.6544.818h-.221l-.0006-1.559h-.6263l.0015 3.038.6262-.0004-.0004-.929h.2113l.6697.9287.7702-.0004-.8796-1.2153zm-1.7033-1.0903.0006 2.3084h-.6114v-.255c-.1506.1849-.3758.315-.6945.3154-.6397 0-1.1243-.5215-1.1244-1.2149-.0003-.6935.483-1.2152 1.1231-1.2156.319 0 .5418.1287.6953.3166v-.2549h.6113zm-.592 1.1533c-.0005-.3645-.2424-.6363-.5993-.6361-.3665 0-.5986.2838-.5986.6364 0 .3528.2326.636.5992.6357.3572 0 .5992-.2718.5986-.636zm-4.2813-1.2502c-.308.0003-.6144.1047-.7955.4019-.1572-.249-.4365-.4012-.7741-.4012-.266 0-.5224.0885-.689.3374v-.2756h-.6144v2.3426h.6314v-1.2841c-.0006-.3528.2247-.5295.4953-.5295.288 0 .4576.1877.4576.525v1.2876h.6313V14.429c-.0004-.3527.2247-.5295.4953-.5295.2855 0 .4572.1875.4572.525v1.2887h.6291v-1.4914l.0004.001c-.0004-.544-.3732-.9137-.9246-.9137zm-3.0249 1.2472a1.838 1.838 0 0 1-.0118.2089H11.878c.067.3325.2994.4803.591.4803a.9258.9258 0 0 0 .5804-.2216l.3633.4c-.2608.241-.5928.3508-.9792.3508-.704 0-1.1927-.4803-1.1928-1.2072-.0006-.7268.4734-1.2228 1.161-1.2232.6617 0 1.114.4925 1.1172 1.212zm-.6213-.2131c-.057-.2957-.235-.462-.5003-.462-.2917 0-.4622.1764-.5168.462h1.0171zm.6214.2134v-.0009.0009zm-3.0601-2.1814a.3796.3796 0 0 0-.351.2342.3794.3794 0 0 0 .0819.4139.3794.3794 0 0 0 .414.0824.38.38 0 0 0 .1233-.6193.379.379 0 0 0-.2682-.1112z": "Hepsiemlak"
}
}

View File

@ -822,12 +822,8 @@ export default {
return collinearSegments;
};
const iconPath = getIconPath($, filepath);
if (!updateIgnoreFile && isIgnored(reporter.name, iconPath)) {
return;
}
const collinearSegments = getCollinearSegments(iconPath);
const iconPath = getIconPath($, filepath),
collinearSegments = getCollinearSegments(iconPath);
if (collinearSegments.length === 0) {
return;
}

View File

@ -1 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Hepsiemlak</title><path d="M9.7214 14.9904c0 .4768-.3982.7843-1.0803.7843-.3203 0-.74-.06-1.0463-.272l.2502-.4716c.2016.1308.4467.2262.8009.2262.2943 0 .4348-.081.4348-.217 0-.1109-.1188-.1736-.3911-.2122l-.1916-.0257c-.5435-.074-.8131-.3076-.8131-.7024 0-.4745.3739-.7553.9927-.7553.341-.0064.6784.0689.9832.2191l-.2137.4853c-.1882-.0905-.4852-.1848-.7499-.1885-.2405 0-.3618.0835-.3618.21 0 .1334.1697.1667.3836.1977l.2087.031c.51.0761.7937.3001.7937.6911zm-2.2784-.4613c0 .6757-.4832 1.1846-1.1238 1.1846-.312 0-.5322-.1184-.6832-.2929v.9614h-.6234v-2.9774h.611v.2486c.1514-.1838.374-.3091.693-.3091.6421 0 1.1264.5087 1.1264 1.1848zm-.6423 0c0-.3436-.23-.6202-.5991-.6202-.3549 0-.597.2646-.597.6202 0 .355.2421.6203.597.6203.3691 0 .5991-.2767.5991-.6203zm-2.0919.0277a1.7387 1.7387 0 0 1-.0121.2086H3.0679c.0666.3327.299.4805.5906.4805a.9243.9243 0 0 0 .5808-.2217l.363.4005c-.2612.2406-.5928.35-.9796.35-.704 0-1.1923-.4803-1.1923-1.208 0-.7276.474-1.2224 1.1618-1.2224.6617 0 1.1138.4933 1.1166 1.2125zm-.6213-.214c-.0567-.2956-.2347-.4623-.5-.4623-.292 0-.4626.1762-.517.4623h1.017zm6.0897 1.368h.6076v-2.2784h-.6076v2.2785zM4.709 14.5572v-.0014l-.0001.001v.0004zm.6076-4.4447 2.87 2.518 1.2312-1.415-4.1012-3.5977-4.1012 3.5978 1.2311 1.4149 2.8701-2.518zm-3.976 3.2444c-.2637 0-.52.0804-.6916.3077l.0004-.9898H0v3.038h.649v-1.2574c0-.3457.2315-.5186.5099-.5186.2964 0 .4703.1836.4703.5142v1.262h.6493V14.252c0-.5328-.3905-.8953-.938-.8953zm16.5835 2.3558h.6076v-3.0379h-.6076v3.038zm5.1964-1.2163.871-1.0811-.7676.0005-.6544.818h-.221l-.0006-1.559h-.6263l.0015 3.038.6262-.0004-.0004-.929h.2113l.6697.9287.7702-.0004-.8796-1.2153zm-1.7033-1.0903.0006 2.3084h-.6114v-.255c-.1506.1849-.3758.315-.6945.3154-.6397 0-1.1243-.5215-1.1244-1.2149-.0003-.6935.483-1.2152 1.1231-1.2156.319 0 .5418.1287.6953.3166v-.2549h.6113zm-.592 1.1533c-.0005-.3645-.2424-.6363-.5993-.6361-.3665 0-.5986.2838-.5986.6364 0 .3528.2326.636.5992.6357.3572 0 .5992-.2718.5986-.636zm-4.2813-1.2502c-.308.0003-.6144.1047-.7955.4019-.1572-.249-.4365-.4012-.7741-.4012-.266 0-.5224.0885-.689.3374v-.2756h-.6144v2.3426h.6314v-1.2841c-.0006-.3528.2247-.5295.4953-.5295.288 0 .4576.1877.4576.525v1.2876h.6313V14.429c-.0004-.3527.2247-.5295.4953-.5295.2855 0 .4572.1875.4572.525v1.2887h.6291v-1.4914l.0004.001c-.0004-.544-.3732-.9137-.9246-.9137zm-3.0249 1.2472a1.838 1.838 0 0 1-.0118.2089H11.878c.067.3325.2994.4803.591.4803a.9258.9258 0 0 0 .5804-.2216l.3633.4c-.2608.241-.5928.3508-.9792.3508-.704 0-1.1927-.4803-1.1928-1.2072-.0006-.7268.4734-1.2228 1.161-1.2232.6617 0 1.114.4925 1.1172 1.212zm-.6213-.2131c-.057-.2957-.235-.462-.5003-.462-.2917 0-.4622.1764-.5168.462h1.0171zm.6214.2134v-.0009.0009zm-3.0601-2.1814a.3796.3796 0 0 0-.351.2342.3794.3794 0 0 0 .0819.4139.3794.3794 0 0 0 .414.0824.38.38 0 0 0 .1233-.6193.379.379 0 0 0-.2682-.1112z"/></svg>
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Hepsiemlak</title><path d="M9.7214 14.9904c0 .4768-.3982.7843-1.0803.7843-.3203 0-.74-.06-1.0463-.272l.2502-.4716c.2016.1308.4467.2262.8009.2262.2943 0 .4348-.081.4348-.217 0-.1109-.1188-.1736-.3911-.2122l-.1916-.0257c-.5435-.074-.8131-.3076-.8131-.7024 0-.4745.3739-.7553.9927-.7553.341-.0064.6784.0689.9832.2191l-.2137.4853c-.1882-.0905-.4852-.1848-.7499-.1885-.2405 0-.3618.0835-.3618.21 0 .1334.1697.1667.3836.1977l.2087.031c.51.0761.7937.3001.7937.6911zm-2.2784-.4613c0 .6757-.4832 1.1846-1.1238 1.1846-.312 0-.5322-.1184-.6832-.2929v.9614h-.6234v-2.9774h.611v.2486c.1514-.1838.374-.3091.693-.3091.6421 0 1.1264.5087 1.1264 1.1848zm-.6423 0c0-.3436-.23-.6202-.5991-.6202-.3549 0-.597.2646-.597.6202 0 .355.2421.6203.597.6203.3691 0 .5991-.2767.5991-.6203zm-2.0919.0277a1.7387 1.7387 0 0 1-.0121.2086H3.0679c.0666.3327.299.4805.5906.4805a.9243.9243 0 0 0 .5808-.2217l.363.4005c-.2612.2406-.5928.35-.9796.35-.704 0-1.1923-.4803-1.1923-1.208 0-.7276.474-1.2224 1.1618-1.2224.6617 0 1.1138.4933 1.1166 1.2125zm-.6213-.214c-.0567-.2956-.2347-.4623-.5-.4623-.292 0-.4626.1762-.517.4623h1.017zm6.0897 1.368h.6076v-2.2784h-.6076v2.2785zM4.709 14.5572v-.0014l-.0001.001v.0004zm.6076-4.4447 2.87 2.518 1.2312-1.415-4.1012-3.5977-4.1012 3.5978 1.2311 1.4149 2.8701-2.518zm-3.976 3.2444c-.2637 0-.52.0804-.6916.3077l.0004-.9898H0v3.038h.649v-1.2574c0-.3457.2315-.5186.5099-.5186.2964 0 .4703.1836.4703.5142v1.262h.6493V14.252c0-.5328-.3905-.8953-.938-.8953zm16.5835 2.3558h.6076v-3.0379h-.6076v3.038zm5.1964-1.2163.871-1.0811-.7676.0005-.6544.818h-.221l-.0006-1.559h-.6263l.0015 3.038.6262-.0004-.0004-.929h.2113l.6697.9287.7702-.0004-.8796-1.2153zm-1.7033-1.0903.0006 2.3084h-.6114v-.255c-.1506.1849-.3758.315-.6945.3154-.6397 0-1.1243-.5215-1.1244-1.2149-.0003-.6935.483-1.2152 1.1231-1.2156.319 0 .5418.1287.6953.3166v-.2549h.6113zm-.592 1.1533c-.0005-.3645-.2424-.6363-.5993-.6361-.3665 0-.5986.2838-.5986.6364 0 .3528.2326.636.5992.6357.3572 0 .5992-.2718.5986-.636zm-4.2813-1.2502c-.308.0003-.6144.1047-.7955.4019-.1572-.249-.4365-.4012-.7741-.4012-.266 0-.5224.0885-.689.3374v-.2756h-.6144v2.3426h.6314v-1.2841c-.0006-.3528.2247-.5295.4953-.5295.288 0 .4576.1877.4576.525v1.2876h.6313V14.429c-.0004-.3527.2247-.5295.4953-.5295.2855 0 .4572.1875.4572.525v1.2887h.6291v-1.4914l.0004.001c-.0004-.544-.3732-.9137-.9246-.9137zm-3.0249 1.2472a1.838 1.838 0 0 1-.0118.2089H11.878c.067.3325.2994.4803.591.4803a.9258.9258 0 0 0 .5804-.2216l.3633.4c-.2608.241-.5928.3508-.9792.3508-.704 0-1.1927-.4803-1.1928-1.2072-.0006-.7268.4734-1.2228 1.161-1.2232.6617 0 1.114.4925 1.1172 1.212zm-.6213-.2131c-.057-.2957-.235-.462-.5003-.462-.2917 0-.4622.1764-.5168.462h1.0171zm.6214.2134zm-3.0601-2.1814a.3796.3796 0 0 0-.351.2342.3794.3794 0 0 0 .0819.4139.3794.3794 0 0 0 .414.0824.38.38 0 0 0 .1233-.6193.379.379 0 0 0-.2682-.1112z"/></svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB