mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Fix the positioning of the help text in LayeredTileSetAtlasSourceEditor.
This commit is contained in:
parent
7f48c0055a
commit
e34e374e38
@ -2746,9 +2746,8 @@ LayeredTileSetAtlasSourceEditor::LayeredTileSetAtlasSourceEditor() {
|
||||
tile_create_help->add_child(help_label);
|
||||
|
||||
tile_create_help->set_anchors_and_margins_preset(Control::PRESET_BOTTOM_LEFT, Control::PRESET_MODE_MINSIZE);
|
||||
Vector2 pos = tile_create_help->get_position();
|
||||
pos.y -= 8 * EDSCALE;
|
||||
tile_create_help->set_position(pos);
|
||||
tile_create_help->set_h_grow_direction(GrowDirection::GROW_DIRECTION_END);
|
||||
tile_create_help->set_v_grow_direction(GrowDirection::GROW_DIRECTION_BEGIN);
|
||||
|
||||
base_tile_popup_menu = memnew(PopupMenu);
|
||||
base_tile_popup_menu->add_shortcut(ED_SHORTCUT("layered_tiles_editor/delete", TTR("Delete"), KEY_DELETE), TILE_DELETE);
|
||||
|
Loading…
Reference in New Issue
Block a user