Fix: ChocoButton content vertical align
This commit is contained in:
@@ -13,7 +13,7 @@ WebFontConfig = {
|
||||
// 'active' means all requested fonts have finished loading
|
||||
// We set a 1 second delay before calling 'createText'.
|
||||
// For some reason if we don't the browser cannot render the text the first time it's created.
|
||||
active: function() { game.time.events.add(Phaser.Timer.SECOND * 0, fontLoaded, this); },
|
||||
active: function() { game.time.events.add(Phaser.Timer.SECOND * 0.1, fontLoaded, this); },
|
||||
|
||||
// The Google Fonts we want to load (specify as many as you like in the array)
|
||||
google: {
|
||||
|
||||
Reference in New Issue
Block a user