Rebase on Radiance #71
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ function TextMenu:generateSubmenu(pageName, label, parent, list, func, backWidge
|
||||||
end
|
end
|
||||||
|
|
||||||
function TextMenu:setFont(fontName)
|
function TextMenu:setFont(fontName)
|
||||||
local scene = core.scenemanager.currentScene
|
local scene = core.scenemanager.nextScene or core.scenemanager.currentScene
|
||||||
self.font = scene.assets:getFont(fontName)
|
self.font = scene.assets:getFont(fontName)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue