mirror of
https://github.com/kristoferssolo/maze-ascension.git
synced 2025-10-21 19:20:34 +00:00
fix: lint warnings
This commit is contained in:
parent
b89556679c
commit
995cc56e28
@ -30,7 +30,7 @@ pub(super) fn spawn_single_hex_tile(
|
|||||||
MeshMaterial3d(assets.hex_material.clone()),
|
MeshMaterial3d(assets.hex_material.clone()),
|
||||||
Transform::from_translation(world_pos).with_rotation(rotation),
|
Transform::from_translation(world_pos).with_rotation(rotation),
|
||||||
))
|
))
|
||||||
.with_children(|parent| spawn_walls(parent, assets, config, &tile.walls()));
|
.with_children(|parent| spawn_walls(parent, assets, config, tile.walls()));
|
||||||
}
|
}
|
||||||
|
|
||||||
fn spawn_walls(parent: &mut ChildBuilder, assets: &MazeAssets, config: &MazeConfig, walls: &Walls) {
|
fn spawn_walls(parent: &mut ChildBuilder, assets: &MazeAssets, config: &MazeConfig, walls: &Walls) {
|
||||||
|
|||||||
@ -20,7 +20,7 @@ impl<T: SpawnUi> Widgets for T {
|
|||||||
fn button(&mut self, text: impl Into<String>) -> EntityCommands {
|
fn button(&mut self, text: impl Into<String>) -> EntityCommands {
|
||||||
let mut entity = self.spawn_ui((
|
let mut entity = self.spawn_ui((
|
||||||
Name::new("Button"),
|
Name::new("Button"),
|
||||||
Button::default(),
|
Button,
|
||||||
ImageNode {
|
ImageNode {
|
||||||
color: NODE_BACKGROUND,
|
color: NODE_BACKGROUND,
|
||||||
..default()
|
..default()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user