Skip to content

Commit

Permalink
Merge pull request #102027 from YeldhamDev/missing_game_view_metadata
Browse files Browse the repository at this point in the history
Add missing metadata saving for embed size mode
  • Loading branch information
Repiteo committed Jan 27, 2025
2 parents 4793965 + d5eab41 commit a366f23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/plugins/game_view_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ void GameView::_embed_options_menu_menu_id_pressed(int p_id) {

void GameView::_size_mode_button_pressed(int size_mode) {
embed_size_mode = (EmbedSizeMode)size_mode;
EditorSettings::get_singleton()->set_project_metadata("game_view", "embed_size_mode", size_mode);

_update_embed_menu_options();
_update_embed_window_size();
Expand Down

0 comments on commit a366f23

Please sign in to comment.