Last 2018 fix

pull/413/head
Simon (darkside) Jackson 2020-10-21 23:23:14 +01:00
parent 55ee3bf621
commit 8870e4c78c
1 changed files with 3 additions and 3 deletions

View File

@ -281,10 +281,10 @@ namespace UnityEngine.UI.Extensions
{ {
get get
{ {
#if ENABLE_LEGACY_INPUT_MANAGER #if UNITY_2019_OR_NEWER && !ENABLE_LEGACY_INPUT_MANAGER
return Input.mouseScrollDelta;
#else
return Mouse.current.position.ReadValue(); return Mouse.current.position.ReadValue();
#else
return Input.mouseScrollDelta;
#endif #endif
} }
} }