mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 21:30:33 +02:00
code tidy up
Fixed indentation, fixed text overflow.
This commit is contained in:
parent
1d335c1218
commit
2532a54a2d
1 changed files with 9 additions and 9 deletions
|
@ -175,7 +175,7 @@ function updateWriting(deltaTime){
|
|||
}
|
||||
}
|
||||
// attempt at some overflow control of the text
|
||||
if ((writing.length % (width/11)) == 0) {
|
||||
if ((writing.length % 53) == 0) {
|
||||
writing = writing + "\n";
|
||||
}
|
||||
// add blinking cursor to window during typing
|
||||
|
@ -186,7 +186,7 @@ function updateWriting(deltaTime){
|
|||
Overlays.editOverlay(inputWindow, { text: writing});
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
|
||||
// test keystroke against keyString and capture permitted keys
|
||||
|
|
Loading…
Reference in a new issue