mirror of
https://github.com/boxgaming/qbjs.git
synced 2024-09-20 04:24:45 +00:00
Updating x seems necessary here.
Wonder why it was commented out. That line is still in the live version at qbjs.org; will do some research, sorry for the mess.
This commit is contained in:
parent
c3b6e10955
commit
e8b01ca60c
1 changed files with 1 additions and 1 deletions
2
qb.js
2
qb.js
|
@ -2205,7 +2205,6 @@ var QB = new function() {
|
||||||
var str = args[ai];
|
var str = args[ai];
|
||||||
var lines = String(str).split("\n");
|
var lines = String(str).split("\n");
|
||||||
for (var i=0; i < lines.length; i++) {
|
for (var i=0; i < lines.length; i++) {
|
||||||
//var x = _locX * QB.func__FontWidth();
|
|
||||||
if (_locX > _textColumns()-1 || _locX + lines[i].length > _textColumns()) {
|
if (_locX > _textColumns()-1 || _locX + lines[i].length > _textColumns()) {
|
||||||
_locX = 0;
|
_locX = 0;
|
||||||
if (_locY < _textRows()-1) {
|
if (_locY < _textRows()-1) {
|
||||||
|
@ -2215,6 +2214,7 @@ var QB = new function() {
|
||||||
await _printScroll();
|
await _printScroll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
x = _locX * QB.func__FontWidth();
|
||||||
var y = -1;
|
var y = -1;
|
||||||
|
|
||||||
// scroll the screen
|
// scroll the screen
|
||||||
|
|
Loading…
Reference in a new issue