New function added to clear fader values (reset).
This commit is contained in:
@@ -9,10 +9,11 @@ import (
|
||||
)
|
||||
|
||||
type FontBase struct {
|
||||
Title font.Face
|
||||
Menu font.Face
|
||||
Splash font.Face
|
||||
BigTitle font.Face
|
||||
Title font.Face
|
||||
Menu font.Face
|
||||
Splash font.Face
|
||||
BigTitle font.Face
|
||||
MegaTitle font.Face
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -69,4 +70,13 @@ func init() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
SplashFont.MegaTitle, err = opentype.NewFace(tt, &opentype.FaceOptions{
|
||||
Size: 70,
|
||||
DPI: dpi,
|
||||
Hinting: font.HintingVertical,
|
||||
})
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user