From 3e6ce264819eba421b833554ea6a557e2db46f3a Mon Sep 17 00:00:00 2001 From: picobyte Date: Wed, 15 Nov 2017 22:12:23 +0100 Subject: [PATCH] obviously Signed-off-by: picobyte --- game/edit_button.rpy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)