remove 'skipToFirstVisibleColumn' function in TextBuilder, as control flow is simpler if we have fewer mutually recursive functions and we can implement its functionality in the 'build' function instead. Also change the 'z' values for cursor and highlight; the cursor should appear above the highlight and now it does, but it previously didn't
This commit is contained in:
@@ -75,8 +75,8 @@ struct
|
||||
, cursorOnCharB = 0.83
|
||||
|
||||
, charZ = 0.01
|
||||
, cursorZ = 0.05
|
||||
, highlightZ = 0.03
|
||||
, cursorZ = 0.03
|
||||
, highlightZ = 0.05
|
||||
|
||||
, startX = 5
|
||||
, startY = 5
|
||||
@@ -126,8 +126,8 @@ struct
|
||||
, cursorOnCharB = 0.83
|
||||
|
||||
, charZ = 0.01
|
||||
, cursorZ = 0.05
|
||||
, highlightZ = 0.03
|
||||
, cursorZ = 0.03
|
||||
, highlightZ = 0.05
|
||||
|
||||
, startX = startX
|
||||
, startY = 5
|
||||
|
||||
Reference in New Issue
Block a user