mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
Removed cmd source generator. Commands are no longer partial methods. Compilations should be slightly faster now. Updated packages and adapted drawing code to the new apis. There may be some bugs.
This commit is contained in:
@@ -105,18 +105,14 @@ public class SearchesService : INService
|
||||
}
|
||||
|
||||
bg.Mutate(x => x.DrawText(
|
||||
new()
|
||||
new TextOptions(_fonts.RipFont)
|
||||
{
|
||||
TextOptions = new TextOptions
|
||||
{
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
WrapTextWidth = 190
|
||||
}.WithFallbackFonts(_fonts.FallBackFonts)
|
||||
HorizontalAlignment = HorizontalAlignment.Center,
|
||||
FallbackFontFamilies = _fonts.FallBackFonts,
|
||||
Origin = new(bg.Width / 2, 225),
|
||||
},
|
||||
text,
|
||||
_fonts.RipFont,
|
||||
Color.Black,
|
||||
new(25, 225)));
|
||||
Color.Black));
|
||||
|
||||
//flowa
|
||||
using (var flowers = Image.Load(await _imgs.GetRipOverlayAsync()))
|
||||
|
Reference in New Issue
Block a user