Ensure status bar remains tappable
This commit is contained in:
parent
a255bdb04b
commit
2f596bed3a
44
main.go
44
main.go
|
|
@ -111,7 +111,7 @@ func statusStrip(bar *ui.ConversionStatsBar) fyne.CanvasObject {
|
||||||
bg := canvas.NewRectangle(color.NRGBA{R: 34, G: 34, B: 34, A: 255})
|
bg := canvas.NewRectangle(color.NRGBA{R: 34, G: 34, B: 34, A: 255})
|
||||||
bg.SetMinSize(fyne.NewSize(0, 32))
|
bg.SetMinSize(fyne.NewSize(0, 32))
|
||||||
content := container.NewPadded(container.NewHBox(bar, layout.NewSpacer()))
|
content := container.NewPadded(container.NewHBox(bar, layout.NewSpacer()))
|
||||||
return container.NewMax(bg, content)
|
return container.NewMax(bg, container.NewBorder(nil, nil, nil, nil, content))
|
||||||
}
|
}
|
||||||
|
|
||||||
// moduleFooter stacks a dark status strip above a tinted action/footer band.
|
// moduleFooter stacks a dark status strip above a tinted action/footer band.
|
||||||
|
|
@ -2464,15 +2464,15 @@ func (s *appState) addMergeToQueue(startNow bool) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
config := map[string]interface{}{
|
config := map[string]interface{}{
|
||||||
"clips": clips,
|
"clips": clips,
|
||||||
"format": s.mergeFormat,
|
"format": s.mergeFormat,
|
||||||
"keepAllStreams": s.mergeKeepAll,
|
"keepAllStreams": s.mergeKeepAll,
|
||||||
"chapters": s.mergeChapters,
|
"chapters": s.mergeChapters,
|
||||||
"codecMode": s.mergeCodecMode,
|
"codecMode": s.mergeCodecMode,
|
||||||
"outputPath": s.mergeOutput,
|
"outputPath": s.mergeOutput,
|
||||||
"dvdRegion": s.mergeDVDRegion,
|
"dvdRegion": s.mergeDVDRegion,
|
||||||
"dvdAspect": s.mergeDVDAspect,
|
"dvdAspect": s.mergeDVDAspect,
|
||||||
"frameRate": s.mergeFrameRate,
|
"frameRate": s.mergeFrameRate,
|
||||||
"useMotionInterpolation": s.mergeMotionInterpolation,
|
"useMotionInterpolation": s.mergeMotionInterpolation,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -11320,18 +11320,18 @@ func buildUpscaleView(state *appState) fyne.CanvasObject {
|
||||||
Description: desc,
|
Description: desc,
|
||||||
OutputFile: outputPath,
|
OutputFile: outputPath,
|
||||||
Config: map[string]interface{}{
|
Config: map[string]interface{}{
|
||||||
"inputPath": state.upscaleFile.Path,
|
"inputPath": state.upscaleFile.Path,
|
||||||
"outputPath": outputPath,
|
"outputPath": outputPath,
|
||||||
"method": state.upscaleMethod,
|
"method": state.upscaleMethod,
|
||||||
"targetWidth": float64(targetWidth),
|
"targetWidth": float64(targetWidth),
|
||||||
"targetHeight": float64(targetHeight),
|
"targetHeight": float64(targetHeight),
|
||||||
"preserveAR": preserveAspect,
|
"preserveAR": preserveAspect,
|
||||||
"useAI": state.upscaleAIEnabled && state.upscaleAIAvailable,
|
"useAI": state.upscaleAIEnabled && state.upscaleAIAvailable,
|
||||||
"aiModel": state.upscaleAIModel,
|
"aiModel": state.upscaleAIModel,
|
||||||
"applyFilters": state.upscaleApplyFilters,
|
"applyFilters": state.upscaleApplyFilters,
|
||||||
"filterChain": state.upscaleFilterChain,
|
"filterChain": state.upscaleFilterChain,
|
||||||
"duration": state.upscaleFile.Duration,
|
"duration": state.upscaleFile.Duration,
|
||||||
"frameRate": state.upscaleFrameRate,
|
"frameRate": state.upscaleFrameRate,
|
||||||
"useMotionInterpolation": state.upscaleMotionInterpolation,
|
"useMotionInterpolation": state.upscaleMotionInterpolation,
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user