Skip to content

Commit 4b578fa

Browse files
committed
Merge pull request #10 from djromero/master
Handle mouse events on mouse up.
2 parents 9028aca + 2186e69 commit 4b578fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

SCXcodeMinimap/SCMiniMapView.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ - (NSDictionary *)layoutManager:(NSLayoutManager *)layoutManager shouldUseTempor
189189

190190
#pragma mark - Navigation
191191

192+
193+
- (void)mouseUp:(NSEvent *)theEvent
194+
{
195+
[super mouseUp:theEvent];
196+
[self handleMouseEvent:theEvent];
197+
}
198+
192199
- (void)mouseDown:(NSEvent *)theEvent
193200
{
194201
[super mouseDown:theEvent];

0 commit comments

Comments
 (0)