You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed URL for the LevelViewport controls help popup to work on Mac
[UE-18355] - Clicking on show viewport controls on mac comes up with missing page error on mac #fix Prefixed URLs correctly with file:// in SLevelViewportControlsPopup [CL 2644736 by Chris Wood in Main branch]
This commit is contained in:
committed by
chris.wood@epicgames.com
parent
dd5e6d4c56
commit
069c156435
@@ -9,11 +9,11 @@ void SLevelViewportControlsPopup::Construct(const FArguments& InArgs)
|
||||
{
|
||||
PopupSize.Set(252, 558);
|
||||
#if PLATFORM_WINDOWS
|
||||
PopupPath = FPaths::ConvertRelativePathToFull(FPaths::Combine(*FPaths::EngineDir(), TEXT("Documentation/Source/Shared/Editor/Overlays/ViewportControlsWindows.html")));
|
||||
PopupPath = FString(TEXT("file:///")) + FPaths::ConvertRelativePathToFull(FPaths::Combine(*FPaths::EngineDir(), TEXT("Documentation/Source/Shared/Editor/Overlays/ViewportControlsWindows.html")));
|
||||
#elif PLATFORM_LINUX
|
||||
PopupPath = FPaths::ConvertRelativePathToFull(FPaths::Combine(*FPaths::EngineDir(), TEXT("Documentation/Source/Shared/Editor/Overlays/ViewportControlsWindows.html")));
|
||||
PopupPath = FString(TEXT("file://")) + FPaths::ConvertRelativePathToFull(FPaths::Combine(*FPaths::EngineDir(), TEXT("Documentation/Source/Shared/Editor/Overlays/ViewportControlsWindows.html")));
|
||||
#elif PLATFORM_MAC
|
||||
PopupPath = FPaths::ConvertRelativePathToFull(FPaths::Combine(*FPaths::EngineDir(), TEXT("Documentation/Source/Shared/Editor/Overlays/ViewportControlsMac.html")));
|
||||
PopupPath = FString(TEXT("file://")) + FPaths::ConvertRelativePathToFull(FPaths::Combine(*FPaths::EngineDir(), TEXT("Documentation/Source/Shared/Editor/Overlays/ViewportControlsMac.html")));
|
||||
#endif
|
||||
|
||||
if (!PopupPath.IsEmpty())
|
||||
|
||||
Reference in New Issue
Block a user