mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 02:02:14 +02:00
Cleanup previous PR
This commit is contained in:
@@ -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:")
|
||||
|
||||
Reference in New Issue
Block a user