diff --git a/Applications/MineCode IDE.app/Main.lua b/Applications/MineCode IDE.app/Main.lua index 62a5dfee..99aa7040 100755 --- a/Applications/MineCode IDE.app/Main.lua +++ b/Applications/MineCode IDE.app/Main.lua @@ -1379,7 +1379,7 @@ local function createEditOrRightClickMenu(menu) end local function checkScrollbar(y) - return codeView.horizontalScrollBar.hidden or y >= codeView.y + codeView.height - 1 + return not codeView.horizontalScrollBar.hidden and y == codeView.y + codeView.height - 1 end local uptime = computer.uptime()