lock viewport scrolling into map size
This commit is contained in:
committed by
Chris Forbes
parent
38fa809656
commit
73017d3f5c
@@ -50,7 +50,7 @@ namespace OpenRA.Widgets
|
||||
{
|
||||
if (!Game.Settings.Game.ViewportEdgeScroll)
|
||||
return null;
|
||||
|
||||
|
||||
if (Edge.Includes(ScrollDirection.Up) && Edge.Includes(ScrollDirection.Left))
|
||||
return "scroll-tl";
|
||||
if (Edge.Includes(ScrollDirection.Up) && Edge.Includes(ScrollDirection.Right))
|
||||
|
||||
Reference in New Issue
Block a user