mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Ensure properties panel of ResourceEditor can be used on Linux&Mac OS X (the panel is frozen if not docked)
This commit is contained in:
@@ -999,6 +999,12 @@ void ResourcesEditor::OnresourcesTreeItemActivated(wxTreeEvent& event)
|
||||
|
||||
AuiManager1->GetPane(propertiesPanel).Show();
|
||||
AuiManager1->Update();
|
||||
|
||||
#if !defined(WINDOWS) //MacOS and wxGTK needs additional tweaks
|
||||
AuiManager1->GetPane(propertiesPanel).Dock().Bottom(); //Ensure panel is docked otherwise it can't get focus.
|
||||
AuiManager1->Update();
|
||||
toolbar->Realize(); //Toolbar is emptied if not realized again after calling Update.
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user