mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
pathText will have unified dir separator depending on the OS
This commit is contained in:
@@ -24,7 +24,7 @@ class NoModuleDefaultTitlescreen(batch: FlippingSpriteBatch) : IngameInstance(ba
|
|||||||
|
|
||||||
private var init = false
|
private var init = false
|
||||||
|
|
||||||
private val pathText = App.loadOrderDir
|
private val pathText = App.loadOrderDir.let { if (App.operationSystem == "WINDOWS") it.replace('/','\\') else it.replace('\\','/') }
|
||||||
private val pathFile = File(App.loadOrderDir)//.parentFile
|
private val pathFile = File(App.loadOrderDir)//.parentFile
|
||||||
private val pathButtonW = App.fontGameFBO.getWidth(pathText)
|
private val pathButtonW = App.fontGameFBO.getWidth(pathText)
|
||||||
private val pathButtonH = 20
|
private val pathButtonH = 20
|
||||||
|
|||||||
Reference in New Issue
Block a user