File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ local globalTextOptions = TEXT_COLOR or 0
4848local function getPageCount ()
4949 pageCount = 0
5050 for i = 1 ,# (PageFiles ) do
51- if (not PageFiles [i ].requiredVersion ) or (apiVersion == 0 ) or (apiVersion > 0 and PageFiles [i ].requiredVersion < apiVersion ) then
51+ if (not PageFiles [i ].requiredVersion ) or (apiVersion == 0 ) or (apiVersion > 0 and PageFiles [i ].requiredVersion <= apiVersion ) then
5252 pageCount = pageCount + 1
5353 end
5454 end
@@ -343,7 +343,7 @@ function run_ui(event)
343343 lineSpacing = 25
344344 end
345345 for i = 1 , # PageFiles do
346- if (not PageFiles [i ].requiredVersion ) or (apiVersion == 0 ) or (apiVersion > 0 and PageFiles [i ].requiredVersion < apiVersion ) then
346+ if (not PageFiles [i ].requiredVersion ) or (apiVersion == 0 ) or (apiVersion > 0 and PageFiles [i ].requiredVersion <= apiVersion ) then
347347 local currentLineY = (menuLine - 1 )* lineSpacing + yMinLim
348348 if currentLineY <= yMinLim then
349349 mainMenuScrollY = 0
You can’t perform that action at this time.
0 commit comments