Fix drag and drop for subtitle module - wrap entire view in droppable
This commit is contained in:
parent
18209240f2
commit
1f5a21466c
|
|
@ -488,7 +488,8 @@ func buildSubtitlesView(state *appState) fyne.CanvasObject {
|
|||
rebuildCues()
|
||||
|
||||
content := container.NewGridWithColumns(2, left, right)
|
||||
return container.NewBorder(topBar, bottomBar, nil, nil, content)
|
||||
mainContent := container.NewBorder(topBar, bottomBar, nil, nil, content)
|
||||
return ui.NewDroppable(mainContent, handleDrop)
|
||||
}
|
||||
|
||||
func (s *appState) setSubtitleStatus(msg string) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user