Skip to content

Commit

Permalink
Changed Tile Selector Toolbar to appear on the top of the screen. Thi…
Browse files Browse the repository at this point in the history
…s is a workaround for bug emilk/egui#2191 which has not yet been merged upstream in the UI library we are using
  • Loading branch information
Lukas Kirschner committed Nov 15, 2022
1 parent 42222b0 commit 612b55d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapeditor/mapeditor_ui.rs
Expand Up @@ -114,7 +114,7 @@ fn mapeditor_ui(
mut selected_tile: ResMut<SelectedTile>,
egui_textures: Res<EguiButtonTextures>,
) {
egui::TopBottomPanel::bottom("")
egui::TopBottomPanel::top("")
.resizable(false)
.default_height(MAPEDITOR_CONTROLS_HEIGHT)
.show(egui_ctx.ctx_mut(), |ui| {
Expand Down

0 comments on commit 612b55d

Please sign in to comment.