parent
437c9bacb2
commit
e0b01b542a
|
@ -79,6 +79,7 @@ class PythonTabber(tab2.StackTabber):
|
||||||
def _calc_level(self, y):
|
def _calc_level(self, y):
|
||||||
# ok, so first remember where we are going, and find our starting point
|
# ok, so first remember where we are going, and find our starting point
|
||||||
target = y
|
target = y
|
||||||
|
y = max(0, y - 1)
|
||||||
while not self.is_base(y) and y > 0:
|
while not self.is_base(y) and y > 0:
|
||||||
y -= 1
|
y -= 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue