more ui refactoring
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michele Scandura 2021-09-15 11:51:59 +01:00
parent 09c32c605e
commit 9033151006
6 changed files with 375 additions and 166 deletions

View file

@ -67,7 +67,7 @@ namespace Sledgemapper
_communicationManager.Connection.Reconnected += OnHubReconnected;
_communicationManager.Connection.Reconnecting += OnHubReconnecting;
_communicationManager.Connection.Closed += OnHubDisconnected;
_state = new State();
_state = State.Instance;
_settings = new Settings();
_vector2Pool = ArrayPool<Vector2>.Create();
_messenger = new TinyMessengerHub();
@ -198,7 +198,7 @@ namespace Sledgemapper
ResetRenderTarget();
_mainWidget = new MainWidget(_communicationManager, _state, _settings, _cachedContent, _messenger, Window);
_mainWidget = new MainWidget(_communicationManager, _settings, _cachedContent, _messenger, Window);