Make x stay as before when moving lines. This is so it's easier to read tables.
This commit is contained in:
parent
da216c5e77
commit
9fae16caf6
@ -18,7 +18,7 @@ def getPrevLine(currX,currY, currText):
|
||||
y -= 1
|
||||
else:
|
||||
endOfScreen = True
|
||||
x = 0
|
||||
x = currX
|
||||
currLine = ''
|
||||
if not endOfScreen:
|
||||
currLine = wrappedLines[y]
|
||||
@ -45,7 +45,7 @@ def getNextLine(currX,currY, currText):
|
||||
y += 1
|
||||
else:
|
||||
endOfScreen = True
|
||||
x = 0
|
||||
x = currX
|
||||
currLine = ''
|
||||
if not endOfScreen:
|
||||
currLine = wrappedLines[y]
|
||||
|
Loading…
Reference in New Issue
Block a user