Skip to content

Commit f8c0d0f

Browse files
Remove HUD entry from dict on hide
1 parent 79aa421 commit f8c0d0f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AppBox/ViewController/ABHudViewController/ABHudViewController.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ + (ABHudViewController *)hudForView:(NSView *)view hide:(BOOL)hide{
2626
if ([hudDictionary.allKeys containsObject:view.description]) {
2727
ABHudViewController *hud = [hudDictionary objectForKey:view.description];
2828
[hud.view removeFromSuperview];
29+
[hudDictionary removeObjectForKey:view.description];
2930
}
3031
return nil;
3132
} else {

0 commit comments

Comments
 (0)