Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed problem with icon selection also canceling now properly zeros t…

…he cropping rect.
  • Loading branch information...
commit d93e9a7db9d66c4316e31101fa7c1bf0a56977c8 1 parent 6ca03a9
Alexander Rauchfuss authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Session/TSSTPageView.m
View
3  Session/TSSTPageView.m
@@ -701,7 +701,7 @@ - (NSRect)pageSelectionRect:(NSInteger)selection
- (NSRect)imageCropRectangle
{
- if(NSEqualRects(NSZeroRect, cropRect))
+ if(NSEqualSizes(NSZeroSize, cropRect.size))
{
return NSZeroRect;
}
@@ -839,6 +839,7 @@ - (void)keyDown:(NSEvent *)event
{
[sessionController cancelPageSelection];
pageSelection = -1;
+ cropRect = NSZeroRect;
[self setNeedsDisplay: YES];
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.