Skip to content

Commit 363001a

Browse files
authored
Merge pull request #1 from nacrt/patch-1
pathindicator
2 parents b76fc74 + d1f1ff1 commit 363001a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/cc/woverflow/crashpatch/gui/GuiCrashMenu.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class GuiCrashMenu @JvmOverloads constructor(val report: CrashReport, private va
131131
textScale = 3.pixels()
132132
} childOf scrollableSolutions
133133
for (solution in list.value) {
134-
UIWrappedText(solution.replace("%gameroot%", CrashPatch.gameDir.absolutePath.removeSuffix(File.separator)).replace("%profileroot%", Launch.minecraftHome.absolutePath.removeSuffix(File.separator)), centered = true) constrain {
134+
UIWrappedText(solution.replace("%pathindicator%", "").replace("%gameroot%", CrashPatch.gameDir.absolutePath.removeSuffix(File.separator)).replace("%profileroot%", Launch.minecraftHome.absolutePath.removeSuffix(File.separator)), centered = true) constrain {
135135
x = 0.pixels()
136136
y = SiblingConstraint(4f)
137137
width = 100.percent()
@@ -190,4 +190,4 @@ class GuiCrashMenu @JvmOverloads constructor(val report: CrashReport, private va
190190
init {
191191
content.setVerticalScrollBarComponent(scrollBar, true)
192192
}
193-
}
193+
}

0 commit comments

Comments
 (0)