- Remove host Apple Braille font entries from Wine prefix registry to prevent cold-start GDI+ AccessViolationException. - Purge .require_update, help.txt, and _pending prior to osu! launch so the game launches directly with -devserver ez-pp.farm instead of entering the updater. - Reset _UpdateFailCount in osu!.cfg and ensure execute.bat points to ez-pp.farm. - Update ensure_patcher_compatibility to patch osu!.patcher.exe and embedded ManagedInjector.Lib for .NET 4.0 compatibility under Wine. - Include theme editor, cursor, and download button refinements on themes-v2 branch.
35 lines
777 B
Svelte
35 lines
777 B
Svelte
<script lang="ts">
|
|
import { getThemeIconBody } from '$lib/themeIconCatalog';
|
|
import { DEFAULT_THEME_ICON_SET, type ThemeIconName, type ThemeIconSet } from '$lib/themeIcons';
|
|
|
|
let {
|
|
name,
|
|
set = DEFAULT_THEME_ICON_SET,
|
|
size = '1em',
|
|
class: className = '',
|
|
style = '',
|
|
}: {
|
|
name: ThemeIconName;
|
|
set?: ThemeIconSet;
|
|
size?: number | string;
|
|
class?: string;
|
|
style?: string;
|
|
} = $props();
|
|
|
|
const icon = $derived(getThemeIconBody(name, set));
|
|
</script>
|
|
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
viewBox={`0 0 ${icon.width} ${icon.height}`}
|
|
width={size}
|
|
height={size}
|
|
class={className}
|
|
{style}
|
|
aria-hidden="true"
|
|
focusable="false"
|
|
>
|
|
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
|
{@html icon.body}
|
|
</svg>
|