diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-03-26 18:13:49 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-03-26 23:02:28 +0100 |
| commit | c5d45b748d90c79f881c4e054b425d68801dad14 (patch) | |
| tree | b39ddf37fb74d761b98d4e0e8f2abdb1a764273e /src/actions.rs | |
| parent | 5f5b94474c83f85d95be5c53d148c4205c17d8e1 (diff) | |
Spin header into its own component
Diffstat (limited to 'src/actions.rs')
| -rw-r--r-- | src/actions.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions.rs b/src/actions.rs index 1d60820..33289b1 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -15,6 +15,7 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. use std::path::PathBuf; +use wmap_renderer::StageType; use crate::preferences::UserPreferences; @@ -43,7 +44,7 @@ impl ImageFormat { #[derive(Debug, Clone)] pub enum Action { ChangeOrientation, - StageTypeSelected(usize), + StageTypeSelected(StageType), SourceChanged, Zoom(f64), ZoomOut, |