Fix Toolbar's mode changer not working correctly.

This commit is contained in:
Dean Herbert 2017-03-02 22:01:24 +09:00
parent d74a601180
commit ef8a35f5cc
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
1 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,10 @@ public Toolbar()
}, },
modeSelector = new ToolbarModeSelector modeSelector = new ToolbarModeSelector
{ {
OnPlayModeChange = OnPlayModeChange OnPlayModeChange = (PlayMode mode) =>
{
OnPlayModeChange?.Invoke(mode);
}
} }
} }
}, },