Skip to content
Snippets Groups Projects
Commit 4b1fdd59 authored by George Nachman's avatar George Nachman
Browse files

Fix bug where dragged background tabs showed upside down image

parent 5cd730a2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -1421,8 +1421,9 @@ static NSString* FormatRect(NSRect r) {
 
- (void)_drawSession:(PTYSession*)session inImage:(NSImage*)viewImage atOrigin:(NSPoint)origin
{
NSImage *textviewImage = [session imageOfSession:NO];
NSImage *textviewImage = [session imageOfSession:YES];
 
origin.y = [viewImage size].height - [textviewImage size].height - origin.y;
[viewImage lockFocus];
[textviewImage compositeToPoint:origin operation:NSCompositeSourceOver];
[viewImage unlockFocus];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment