diff --git a/crates/rpack_egui/src/app.rs b/crates/rpack_egui/src/app.rs index 995c410..57ae0a6 100644 --- a/crates/rpack_egui/src/app.rs +++ b/crates/rpack_egui/src/app.rs @@ -3,15 +3,15 @@ use crate::view_settings::ViewSettings; use crossbeam::queue::SegQueue; use egui::containers::menu::MenuButton; use egui::{ - util::undoer::Undoer, Button, Color32, FontFamily, FontId, Frame, Image, Label, Layout, - RichText, Slider, Ui, + Button, Color32, FontFamily, FontId, Frame, Image, Label, Layout, RichText, Slider, Ui, + util::undoer::Undoer, }; use egui::{Checkbox, Grid, Vec2}; use egui_extras::{Column, TableBuilder}; use once_cell::sync::Lazy; use rpack_cli::TilemapGenerationConfig; use rpack_cli::{ - packer::SkylinePacker, ImageFile, Spritesheet, SpritesheetBuildConfig, SpritesheetError, + ImageFile, Spritesheet, SpritesheetBuildConfig, SpritesheetError, packer::SkylinePacker, }; use texture_packer::{Rect, TexturePackerConfig}; static INPUT_QUEUE: Lazy> = Lazy::new(SegQueue::new); diff --git a/crates/rpack_egui/src/main.rs b/crates/rpack_egui/src/main.rs index e600875..ce9bc39 100644 --- a/crates/rpack_egui/src/main.rs +++ b/crates/rpack_egui/src/main.rs @@ -61,7 +61,7 @@ fn main() { wasm_bindgen_futures::spawn_local(async { use web_sys::wasm_bindgen::JsCast; - use web_sys::{window, HtmlCanvasElement}; + use web_sys::{HtmlCanvasElement, window}; let canvas = window() .and_then(|w| w.document()) .and_then(|d| d.get_element_by_id("the_canvas_id"))