diff --git a/.gitignore b/.gitignore index 081e3f7..025ba1e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,10 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb + +# Makepad state. +*.ron + # RustRover # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/makepad_state0.ron b/makepad_state0.ron deleted file mode 100644 index 4b0ded0..0000000 --- a/makepad_state0.ron +++ /dev/null @@ -1,140 +0,0 @@ -( - dock_items:{ - edit_tabs:Tabs( - tabs:[ - edit_first, - ], - selected:0, - closable:true, - ), - split3:Splitter( - axis:Horizontal, - align:FromA(20), - a:split4, - b:run_tabs, - ), - split4:Splitter( - axis:Horizontal, - align:Weighted(0.5), - a:outline_tabs, - b:design_tabs, - ), - search:Tab( - name:"Search", - template:SearchTab, - kind:Search, - ), - snapshot_tab:Tab( - name:"Snapshot", - template:SnapshotTab, - kind:Snapshot, - ), - file_tree_tabs:Tabs( - tabs:[ - file_tree_tab, - run_list_tab, - search, - snapshot_tab, - ], - selected:1, - closable:true, - ), - log_tabs:Tabs( - tabs:[ - log_list_tab, - profiler, - ], - selected:0, - closable:true, - ), - file_tree_tab:Tab( - name:"Files", - template:FilesTab, - kind:StudioFileTree, - ), - ai_first:Tab( - name:"", - template:AiFirstTab, - kind:AiFirst, - ), - run_first:Tab( - name:"", - template:RunFirstTab, - kind:RunFirst, - ), - log_list_tab:Tab( - name:"Log", - template:LogTab, - kind:LogList, - ), - edit_first:Tab( - name:"", - template:EditFirstTab, - kind:EditFirst, - ), - design_first:Tab( - name:"", - template:DesignFirstTab, - kind:DesignFirst, - ), - outline_first:Tab( - name:"", - template:OutlineFirstTab, - kind:OutlineFirst, - ), - split2:Splitter( - axis:Horizontal, - align:Weighted(0.5), - a:edit_tabs, - b:split3, - ), - run_list_tab:Tab( - name:"Run", - template:RunListTab, - kind:RunList, - ), - root:Splitter( - axis:Horizontal, - align:FromA(250), - a:file_tree_tabs, - b:split1, - ), - outline_tabs:Tabs( - tabs:[ - outline_first, - ], - selected:0, - closable:true, - ), - design_tabs:Tabs( - tabs:[ - design_first, - ], - selected:0, - closable:true, - ), - run_tabs:Tabs( - tabs:[ - run_first, - ai_first, - ], - selected:0, - closable:true, - ), - profiler:Tab( - name:"Profiler", - template:ProfilerTab, - kind:Profiler, - ), - split1:Splitter( - axis:Vertical, - align:FromB(200), - a:split2, - b:log_tabs, - ), - }, - processes:[ - ], - tab_id_to_file_node_id:{ - }, -) \ No newline at end of file diff --git a/src/ui/jlc_downloader.rs b/src/ui/jlc_downloader.rs index 7e1c573..89ca84a 100644 --- a/src/ui/jlc_downloader.rs +++ b/src/ui/jlc_downloader.rs @@ -1,5 +1,4 @@ use crate::ui::main_window::{MainWindowMsg, TabContent}; -use crate::utils::step_downloader; use anyhow::Result; use iced::{Length, alignment::Horizontal, widget::Column}; use log::info; diff --git a/src/ui/main_window.rs b/src/ui/main_window.rs index 6361bca..7d3a150 100644 --- a/src/ui/main_window.rs +++ b/src/ui/main_window.rs @@ -7,7 +7,6 @@ use crate::ui::part_viewer::PartViewerMsg; use crate::utils::step_downloader; use iced::Subscription; use iced::Task; -use iced::widget::button::warning; use log::info; use log::warn; diff --git a/src/utils/step_downloader.rs b/src/utils/step_downloader.rs index 53c0427..4fdb8e0 100644 --- a/src/utils/step_downloader.rs +++ b/src/utils/step_downloader.rs @@ -1,4 +1,3 @@ -use iced::futures; use log::info; use std::time::Duration;