Changed the order of the Theme.Pattern method

This commit is contained in:
2023-02-12 10:58:23 -05:00
parent 82e92f1e2e
commit 7f0462d588
3 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ func (Default) FontFace (style FontStyle, size FontSize, c Case) font.Face {
}
// Icon returns an icon from the default set corresponding to the given name.
func (Default) Icon (string, Case, IconSize) canvas.Image {
func (Default) Icon (string, IconSize, Case) canvas.Image {
// TODO
return nil
}
@@ -33,8 +33,8 @@ func (Default) Icon (string, Case, IconSize) canvas.Image {
// pattern ID.
func (Default) Pattern (
pattern Pattern,
c Case,
state PatternState,
c Case,
) artist.Pattern {
switch pattern {
case PatternAccent: