mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 23:25:10 +01:00
Increase displayed lines for newline support
This commit is contained in:
@@ -119,7 +119,7 @@ public class VirtualKeyboardScreen extends SpruceScreen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private SpruceTextAreaWidget createBufferDisplayArea() {
|
private SpruceTextAreaWidget createBufferDisplayArea() {
|
||||||
int lineCount = this.newLineSupport ? 3 : 1;
|
int lineCount = this.newLineSupport ? 4 : 1;
|
||||||
int bufferX = this.width / 2 - 100;
|
int bufferX = this.width / 2 - 100;
|
||||||
int bufferY = this.height / 4 - VERTICAL_SPACING * 5 - 5;
|
int bufferY = this.height / 4 - VERTICAL_SPACING * 5 - 5;
|
||||||
int bufferWidth = 200;
|
int bufferWidth = 200;
|
||||||
|
|||||||
Reference in New Issue
Block a user