go_to_line: Fix goto line + mouse click jumps to previous scroll position (#26362)

Closes #20658

Now, when the "Go to Line" palette is open:  
- Clicking on the editor will dismiss the palette without changing the
scroll position. (PR change)
- Pressing Enter will jump to the line number entered in the palette.
(Unchanged)
- Pressing Escape will jump back to the previous cursor location.
(Unchanged)

Release Notes:

- Fixed an issue where clicking the editor with the mouse while the "Go
to Line" palette is open would cause it to jump to the previous scroll
position.
5f159bc95eSmit Barmase committed on 3/10/2025, 3:03:07 PM· committed by GitHubparenta446257
1 file changedLine totals unavailable