mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-09 20:39:37 +01:00
Fix popup menu position.
This commit is contained in:
parent
2f87cf8230
commit
7b72d180a5
@ -2028,7 +2028,8 @@ void LayeredTileSetAtlasSourceEditor::_tile_alternatives_control_gui_input(const
|
|||||||
selected = selection.front()->get();
|
selected = selection.front()->get();
|
||||||
menu_option_coords = selected.tile;
|
menu_option_coords = selected.tile;
|
||||||
menu_option_alternative = selected.alternative;
|
menu_option_alternative = selected.alternative;
|
||||||
alternative_tile_popup_menu->popup(Rect2i(get_global_transform().xform(get_local_mouse_position()), Size2i()));
|
alternative_tile_popup_menu->set_position(get_global_transform().xform(get_local_mouse_position()));
|
||||||
|
alternative_tile_popup_menu->popup();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user