mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
backend stuffs in the Terrarum moved to the AppLoader
This commit is contained in:
@@ -62,7 +62,7 @@ class Notification : UICanvas() {
|
||||
val displayedTextWidth = maxOf(240, realTextWidth)
|
||||
|
||||
// force the UI to the centre of the screen
|
||||
this.posX = (Terrarum.WIDTH - displayedTextWidth) / 2
|
||||
this.posX = (AppLoader.screenW - displayedTextWidth) / 2
|
||||
|
||||
val textHeight = message.size * AppLoader.fontGame.lineHeight
|
||||
|
||||
|
||||
Reference in New Issue
Block a user