Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,20 @@ void wrapper(object? sender, EventArgs eventArgs)
return wrapper;
}

private void Transit(SmEvent @event, IKeyboardToolTip source)
private void Transit(SmEvent @event, IKeyboardToolTip? source)
{
bool fullFsmResetRequired = false;
try
{
ToolTip? toolTip = _toolToTip[source];
ToolTip? toolTip = null;
if (source is object)
{
toolTip = _toolToTip[source];
}

if ((_currentTool is null || _currentTool.CanShowToolTipsNow()) && toolTip is not null)
{
_currentState = Transition(source, toolTip, @event);
_currentState = Transition(source!, toolTip, @event);
}
else
{
Expand Down