Minor fixes
This commit is contained in:
@@ -76,8 +76,13 @@ namespace FlaxEditor.Viewport
|
||||
/// <inheritdoc />
|
||||
public bool SnapToVertex => ContainsFocus && Editor.Instance.Options.Options.Input.SnapToVertex.Process(Root);
|
||||
|
||||
#if PLATFORM_SDL
|
||||
/// <inheritdoc />
|
||||
public Float2 MouseDelta => FlaxEngine.Input.MousePositionDelta;
|
||||
#else
|
||||
/// <inheritdoc />
|
||||
public Float2 MouseDelta => _mouseDelta;
|
||||
#endif
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool UseSnapping => Root?.GetKey(KeyboardKeys.Control) ?? false;
|
||||
|
||||
@@ -158,7 +158,7 @@ bool SDLPlatform::Init()
|
||||
|
||||
void SDLPlatform::LogInfo()
|
||||
{
|
||||
base::LogInfo();
|
||||
SDLPlatformBase::LogInfo();
|
||||
|
||||
const int32 runtimeVersion = SDL_GetVersion();
|
||||
LOG(Info, "Using SDL version {}.{}.{} ({}), runtime: {}.{}.{} ({})",
|
||||
|
||||
Reference in New Issue
Block a user