summaryrefslogtreecommitdiff
path: root/editor/plugins/ot_features_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/ot_features_plugin.cpp')
-rw-r--r--editor/plugins/ot_features_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/ot_features_plugin.cpp b/editor/plugins/ot_features_plugin.cpp
index c949621e28..7f3ebc01d5 100644
--- a/editor/plugins/ot_features_plugin.cpp
+++ b/editor/plugins/ot_features_plugin.cpp
@@ -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();
}