fix 'cut' event being missed in standalone cell

This commit is contained in:
Ryan Fleury
2025-04-26 20:49:03 -07:00
parent 1e82d31eba
commit 693ba7d077
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -2810,6 +2810,7 @@ ui_signal_from_box(UI_Box *box)
//- rjf: focus is hot & copy event -> remember to copy this box tree's text content
if(is_focus_hot &&
evt->flags & UI_EventFlag_Copy &&
!(evt->flags & UI_EventFlag_Delete) &&
!ui_key_match(ui_key_zero(), box->key))
{
ui_state->clipboard_copy_key = box->key;