mirror of https://github.com/Leinnan/rpack.git
Formating
This commit is contained in:
parent
8c8f2c0fe1
commit
f45c635865
|
|
@ -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<SegQueue<AppImageAction>> = Lazy::new(SegQueue::new);
|
||||
|
|
|
|||
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue