You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix bad popups offset in editor with single window off
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
This commit is contained in:
@@ -136,6 +136,7 @@ void OpenTypeFeaturesAdd::update_property() {
|
||||
void OpenTypeFeaturesAdd::_features_menu() {
|
||||
Size2 size = get_size();
|
||||
menu->set_position(get_screen_position() + Size2(0, size.height * get_global_transform().get_scale().y));
|
||||
menu->reset_size();
|
||||
menu->popup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user