diff --git a/game/edit_button.rpy b/game/edit_button.rpy index ba15386..04a642e 100644 --- a/game/edit_button.rpy +++ b/game/edit_button.rpy @@ -358,7 +358,7 @@ init -1500 python in _editor: if self.wrap2buf[cy][0] == 0: i += 1 cx = 0 - self.console.cy = self.console.CY = max(cy, self.nolines-1) + self.console.cy = self.console.CY = min(cy, self.nolines-1) self.console.max = self.console.cx = self.console.CX = cx renpy.redraw(self.console, 0)