File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1111#include " UtilityClass.h"
1212#include " Vlogging.h"
1313
14- namespace TextInput {
14+ namespace TextInput
15+ {
1516 bool taking_input;
1617 bool selecting;
1718 int flash_timer;
@@ -310,7 +311,7 @@ namespace TextInput {
310311 void move_cursor_up (void )
311312 {
312313 bool reset = process_selection (); // Only returns true if you don't hold shift
313- if (reset && ( cursor_pos.y > cursor_select_pos.y ) )
314+ if (reset && cursor_pos.y > cursor_select_pos.y )
314315 {
315316 cursor_pos.y = cursor_select_pos.y ;
316317 }
@@ -329,7 +330,7 @@ namespace TextInput {
329330 void move_cursor_down (void )
330331 {
331332 bool reset = process_selection (); // Only returns true if you don't hold shift
332- if (reset && ( cursor_pos.y < cursor_select_pos.y ) )
333+ if (reset && cursor_pos.y < cursor_select_pos.y )
333334 {
334335 cursor_pos.y = cursor_select_pos.y ;
335336 }
You can’t perform that action at this time.
0 commit comments