Cleanup previous PR

This commit is contained in:
Kovid Goyal
2026-04-30 09:23:22 +05:30
parent e15f11c31c
commit 79bf7ef1a4
4 changed files with 24 additions and 48 deletions

View File

@@ -52,10 +52,6 @@ func (dnd *dnd) render_screen() error {
lp.Println("Dragging data...")
return nil
}
if dnd.drop_status.reading_data {
lp.Println("Reading dropped data, please wait...")
return nil
}
y := 0
sz, _ := lp.ScreenSize()
render_paragraph := func(text string) {
@@ -84,6 +80,11 @@ func (dnd *dnd) render_screen() error {
return nil
}
if dnd.drop_status.reading_data {
lp.Println("Reading dropped data, please wait...")
return nil
}
if dnd.drop_status.in_window {
if dnd.drop_status.action == 0 {
render_paragraph("A drag is active. Drop it into one of the boxes below to perform that action on the dragged data. Available MIME types in the drag:")