add project path and large world to window icon tooltip
This commit is contained in:
@@ -824,10 +824,20 @@ namespace FlaxEditor.Modules
|
||||
driver = $" ({driver})";
|
||||
#endif
|
||||
|
||||
var projectPath = Globals.ProjectFolder;
|
||||
#if PLATFORM_WINDOWS
|
||||
projectPath = projectPath.Replace('/', '\\');
|
||||
#endif
|
||||
|
||||
string largeWorld = "Large Worlds Enabled: false";
|
||||
#if USE_LARGE_WORLDS
|
||||
largeWorld = "Large Worlds Enabled: true";
|
||||
#endif
|
||||
|
||||
WindowDecorations = new MainWindowDecorations(mainWindow, !Utilities.Utils.UseCustomWindowDecorations(true))
|
||||
{
|
||||
Parent = mainWindow,
|
||||
IconTooltipText = $"{mainWindow.RootWindow.Title}\nVersion {Globals.EngineVersion}\nConfiguration {configuration}\nGraphics {GPUDevice.Instance.RendererType}{driver}",
|
||||
IconTooltipText = $"{mainWindow.RootWindow.Title}\nPath {projectPath}\n\nEngine Version {Globals.EngineVersion}\n{largeWorld}\nConfiguration {configuration}\n\nGraphics {GPUDevice.Instance.RendererType}{driver}",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user