Move functions list to flyout and auto-close after insert
This commit is contained in:
parent
46004d85d5
commit
c361c2285c
2 changed files with 46 additions and 43 deletions
|
@ -56,6 +56,8 @@ public partial class MainViewModel : ViewModelBase
|
|||
if (string.IsNullOrWhiteSpace(functionName))
|
||||
return;
|
||||
InsertToken(functionName + "()");
|
||||
// Close the functions flyout after insertion for smoother UX
|
||||
IsFunctionsPanelOpen = false;
|
||||
}
|
||||
|
||||
private void InsertToken(string token)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue