You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Editor/Mono/AssetStore/AssetStoreWindow.cs
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -193,6 +193,19 @@ public void Refresh()
193
193
webView.Show();
194
194
}
195
195
196
+
publicvoidOnAddedAsTab()
197
+
{
198
+
// Make sure the parent window is set correctly for CEF if this instance is being moved from a different DockArea.
199
+
SetFocus(true);
200
+
}
201
+
202
+
publicvoidOnBeforeRemovedAsTab()
203
+
{
204
+
// Set the CEF parent window as if the tab were becoming invisible prior to tab removal. This will keep CEF from cleaning up the AssetStoreWindow browser
205
+
// window if the AssetStoreWindow is being dragged to a new DockArea and was the last tab in it's old DockArea.
0 commit comments