Improve edge-scroll behavior

This commit is contained in:
Paul Chote
2011-07-05 21:03:04 +12:00
parent ca8605d3ee
commit 5f3483ed17
7 changed files with 261 additions and 137 deletions

View File

@@ -10,7 +10,7 @@
using OpenRA.Support;
using OpenRA.Widgets;
using T = OpenRA.Mods.Cnc.Widgets.TooltipWorldInteractionControllerWidget;
using T = OpenRA.Mods.Cnc.Widgets.CncWorldInteractionControllerWidget;
namespace OpenRA.Mods.Cnc.Widgets.Logic
{
@@ -18,7 +18,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
{
[ObjectCreator.UseCtor]
public WorldTooltipLogic([ObjectCreator.Param] Widget widget,
[ObjectCreator.Param] TooltipWorldInteractionControllerWidget wic)
[ObjectCreator.Param] CncWorldInteractionControllerWidget wic)
{
widget.IsVisible = () => wic.TooltipType != T.WorldTooltipType.None;