SlyEdit DCT: Use Math.floor() to create an actual number instead of toFixed(0) like I was in some very old parts of the code. This fixes some cursor position calculations (for the current time, particularly).
Compare changes
+ 9
− 9
@@ -198,7 +198,7 @@ function redrawScreen_DCTStyle(pEditLeft, pEditRight, pEditTop, pEditBottom, pEd
@@ -414,7 +414,7 @@ function DisplayBottomHelpLine_DCTStyle(pLineNum, pUsingQuotes)
@@ -558,8 +558,8 @@ function promptYesNo_DCTStyle(pQuestion, pBoxTitle, pDefaultYes, pParamObj, pAlw
@@ -678,10 +678,10 @@ function displayTime_DCTStyle(pTimeStr)
@@ -692,7 +692,7 @@ function displayTime_DCTStyle(pTimeStr)