Skip to content

Commit aa27832

Browse files
committed
Don't allow toggling details while the tooltip isn't visible
1 parent fbe6c87 commit aa27832

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PluginCore/PluginCore/Controls/UITools.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private bool HandleKeys(Keys key)
378378
}
379379

380380
// toggle "long-description" for the hover tooltip
381-
if (key == Keys.F1)
381+
if (Tip.Visible && key == Keys.F1)
382382
{
383383
showDetails = !showDetails;
384384
DataEvent de = new DataEvent(EventType.Command, "ASCompletion.RefreshTooltip", null);

0 commit comments

Comments
 (0)