Fix snippet toggle button scope
This commit is contained in:
parent
a7b92cfa8e
commit
e39b6a7f99
1
DONE.md
1
DONE.md
|
|
@ -832,6 +832,7 @@ This file tracks completed features, fixes, and milestones.
|
||||||
- ✅ Linked simple and advanced bitrate presets so they stay in sync
|
- ✅ Linked simple and advanced bitrate presets so they stay in sync
|
||||||
- ✅ Hide quality presets when bitrate mode is not CRF
|
- ✅ Hide quality presets when bitrate mode is not CRF
|
||||||
- ✅ Collapsed snippet tools behind a toggle in the convert footer
|
- ✅ Collapsed snippet tools behind a toggle in the convert footer
|
||||||
|
- ✅ Fixed snippet toggle button scope to avoid build error
|
||||||
- ✅ Stabilized video seeking and embedded rendering
|
- ✅ Stabilized video seeking and embedded rendering
|
||||||
- ✅ Improved player window positioning
|
- ✅ Improved player window positioning
|
||||||
- ✅ Fixed clear video functionality
|
- ✅ Fixed clear video functionality
|
||||||
|
|
|
||||||
1
TODO.md
1
TODO.md
|
|
@ -65,6 +65,7 @@ This file tracks upcoming features, improvements, and known issues.
|
||||||
- Simple/advanced bitrate presets synced
|
- Simple/advanced bitrate presets synced
|
||||||
- Quality presets hidden when bitrate mode is not CRF
|
- Quality presets hidden when bitrate mode is not CRF
|
||||||
- Snippet tools collapsed behind a toggle to reduce footer clutter
|
- Snippet tools collapsed behind a toggle to reduce footer clutter
|
||||||
|
- Snippet toggle scope fixed to eliminate build error
|
||||||
|
|
||||||
*Last Updated: 2025-12-20*
|
*Last Updated: 2025-12-20*
|
||||||
|
|
||||||
|
|
|
||||||
3
main.go
3
main.go
|
|
@ -7238,7 +7238,8 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
snippetTools := container.NewVBox(snippetConfigRow, snippetRow)
|
snippetTools := container.NewVBox(snippetConfigRow, snippetRow)
|
||||||
snippetTools.Hide()
|
snippetTools.Hide()
|
||||||
snippetToolsVisible := false
|
snippetToolsVisible := false
|
||||||
snippetToggleBtn := widget.NewButton("Show Snippet Tools", func() {
|
var snippetToggleBtn *widget.Button
|
||||||
|
snippetToggleBtn = widget.NewButton("Show Snippet Tools", func() {
|
||||||
if snippetToolsVisible {
|
if snippetToolsVisible {
|
||||||
snippetTools.Hide()
|
snippetTools.Hide()
|
||||||
snippetToggleBtn.SetText("Show Snippet Tools")
|
snippetToggleBtn.SetText("Show Snippet Tools")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user