Rename WebView control to WebViewControl to avoid namespace name clash.

This commit is contained in:
Pieter-Jan Briers
2021-11-01 21:06:30 +01:00
parent ba2f464249
commit cdcc5239ab

View File

@@ -19,7 +19,7 @@ namespace Robust.Client.WebView
/// <summary>
/// An UI control that presents web content.
/// </summary>
public sealed class WebView : Control, IWebViewControl, IRawInputControl
public sealed class WebViewControl : Control, IWebViewControl, IRawInputControl
{
private const int ScrollSpeed = 50;
@@ -148,7 +148,7 @@ namespace Robust.Client.WebView
[Key.Pause] = VKEY_PAUSE,
};
public WebView()
public WebViewControl()
{
CanKeyboardFocus = true;
KeyboardFocusOnClick = true;