fix: typo in TouchpanelBase constructor

The constructor was checking the wrong
variable, leading to it always being null
and failing to build the `EssentialsTouchpanelController`
class.
This commit is contained in:
Andrew Welker
2022-11-23 13:12:35 -07:00
parent f262c1a3bb
commit 1b43b44d19

View File

@@ -31,7 +31,7 @@ namespace PepperDash.Essentials.Core.UI
:base(key, name)
{
if (Panel == null)
if (panel == null)
{
Debug.Console(0, this, "Panel is not valid. Touchpanel class WILL NOT work correctly");
return;