mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 12:04:06 +09:00
UI testing env and working text buttons
Former-commit-id: b8fd27c7f71f9bc8da259ae132badcbc9ce117ac
This commit is contained in:
@@ -18,14 +18,14 @@ internal object Zoom : ConsoleCommand {
|
||||
return
|
||||
}
|
||||
|
||||
if (zoom < Terrarum.ingame.ZOOM_MIN) {
|
||||
zoom = Terrarum.ingame.ZOOM_MIN
|
||||
if (zoom < Terrarum.ingame!!.ZOOM_MIN) {
|
||||
zoom = Terrarum.ingame!!.ZOOM_MIN
|
||||
}
|
||||
else if (zoom > Terrarum.ingame.ZOOM_MAX) {
|
||||
zoom = Terrarum.ingame.ZOOM_MAX
|
||||
else if (zoom > Terrarum.ingame!!.ZOOM_MAX) {
|
||||
zoom = Terrarum.ingame!!.ZOOM_MAX
|
||||
}
|
||||
|
||||
Terrarum.ingame.screenZoom = zoom
|
||||
Terrarum.ingame!!.screenZoom = zoom
|
||||
|
||||
System.gc()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user