mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 11:51:50 +09:00
fix: no whitespaces not being committed on-time
This commit is contained in:
@@ -349,7 +349,7 @@ class FlippingSpriteBatch(size: Int = 1000) : SpriteBatch(size) {
|
||||
|
||||
lateinit var appConfig: Lwjgl3ApplicationConfiguration
|
||||
const val TEXW = 800
|
||||
const val TEXH = 24 * 170
|
||||
const val TEXH = 24 * 171
|
||||
|
||||
const val WIDTH = TEXW
|
||||
const val HEIGHT = 768
|
||||
|
||||
BIN
demo.PNG
BIN
demo.PNG
Binary file not shown.
|
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 166 KiB |
@@ -743,13 +743,15 @@ class MovableType(
|
||||
appendToBuffer(c0)
|
||||
}
|
||||
else if (c0.isParenOpen()) {
|
||||
sendoutBox()
|
||||
|
||||
if (glue > 0) sendoutGlue()
|
||||
|
||||
sendoutBox()
|
||||
|
||||
appendToBuffer(c0)
|
||||
}
|
||||
else if (c0.isCJparenEnd()) {
|
||||
if (glue > 0) sendoutGlue()
|
||||
|
||||
appendToBuffer(c0)
|
||||
sendoutBox()
|
||||
|
||||
@@ -757,10 +759,10 @@ class MovableType(
|
||||
sendoutGlue()
|
||||
}
|
||||
else if (c0.isParenClose()) {
|
||||
if (glue > 0) sendoutGlue()
|
||||
|
||||
appendToBuffer(c0)
|
||||
sendoutBox()
|
||||
|
||||
if (glue > 0) sendoutGlue()
|
||||
}
|
||||
else if (c0.isCJpunct()) {
|
||||
if (cM.isWhiteSpace()) sendoutGlue()
|
||||
|
||||
Reference in New Issue
Block a user