Skip to content
This repository was archived by the owner on Nov 19, 2019. It is now read-only.

Commit 005b97e

Browse files
author
Michael Ehrmann
committed
[FIX] make sure overflow button position is calculated from the current cell position. stabilizes position while live resizing window.
1 parent ef43cd5 commit 005b97e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/PSMTabBarControl.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,6 @@ - (void)update:(BOOL)animate {
12721272
NSMenu *overflowMenu = [_controller overflowMenu];
12731273
[_overflowPopUpButton setHidden:(overflowMenu == nil)];
12741274
[_overflowPopUpButton setMenu:overflowMenu];
1275-
[self _positionOverflowMenu];
12761275

12771276
if(_animationTimer) {
12781277
[_animationTimer invalidate];
@@ -1311,6 +1310,7 @@ - (void)update:(BOOL)animate {
13111310
[self updateTrackingAreas];
13121311
[self setNeedsDisplay:YES];
13131312
}
1313+
[self _positionOverflowMenu];
13141314
}
13151315

13161316
- (void)_animateCells:(NSTimer *)timer {
@@ -1391,6 +1391,7 @@ - (void)_animateCells:(NSTimer *)timer {
13911391
[self updateTrackingAreas];
13921392
}
13931393

1394+
[self _positionOverflowMenu];
13941395
[self setNeedsDisplay:YES];
13951396
}
13961397

0 commit comments

Comments
 (0)