diff --git a/main.go b/main.go index 12a2108..1da2baa 100644 --- a/main.go +++ b/main.go @@ -2784,13 +2784,6 @@ func (s *appState) showPlayerView() { s.setContent(buildPlayerView(s)) } -func (s *appState) showUpscaleView() { - s.stopPreview() - s.lastModule = s.active - s.active = "upscale" - s.setContent(buildUpscaleView(s)) -} - func (s *appState) showAuthorView() { s.stopPreview() s.lastModule = s.active diff --git a/upscale_module.go b/upscale_module.go index 2883f82..8530011 100644 --- a/upscale_module.go +++ b/upscale_module.go @@ -170,4 +170,11 @@ func sanitizeForPath(label string) string { return strings.ToLower(r.Replace(label)) } -// Main module functions will be added here incrementally... +func (s *appState) showUpscaleView() { + s.stopPreview() + s.lastModule = s.active + s.active = "upscale" + s.setContent(buildUpscaleView(s)) +} + +// buildUpscaleView and executeUpscaleJob will be added here incrementally...