mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Fix so prompt message wraps properly
This commit is contained in:
@@ -48,7 +48,7 @@ public abstract class FDialog extends FOverlay {
|
||||
buttonCount = buttonCount0;
|
||||
prompt = add(new VPrompt("", "", null, null));
|
||||
if (buttonCount < 3) {
|
||||
title0.replaceAll(" - ", "\n"); //breakup into lines
|
||||
title0 = title0.replaceAll(" - ", "\n"); //breakup into lines
|
||||
btnMiddle = null;
|
||||
prompt.setMessage(title0); //only put title in message if no third button
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user