This repository has been archived by the owner on Sep 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Some fixes #246
Open
dev4dev
wants to merge
12
commits into
alcatraz:master
Choose a base branch
from
dev4dev:fix-230
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Some fixes #246
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
da45553
Changes screenshots loading approach. (loads images only in visible c…
dev4dev 538f20a
- fixed images loading on mouse wheel scrolling
dev4dev 56eba94
- added overlay NSImageView for displaying screenshot previews. fix #230
dev4dev 5a6cb14
now it clears out previous image from ImageView
dev4dev 55f3c45
Merge branch 'master' into fix-230
dev4dev 91fd767
enabled animations (.gif) in previews
dev4dev d651920
added missed braces
dev4dev 5cfaa99
changed scaling of previews to fill full width
dev4dev c002e91
tab into spaces
dev4dev 7359256
fixed preview image misplaced constraints
dev4dev d739506
Okay Xcode, as you wish
dev4dev 277ade9
missed a few tabs, all glory to the spaces
dev4dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// ATZScreenshotsStorage.h | ||
// Alcatraz | ||
// | ||
// Created by Alex Antonyuk on 3/20/15. | ||
// Copyright (c) 2015 supermar.in. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@class ATZPackage; | ||
|
||
typedef void(^ATZImagesStorageCompletion)(ATZPackage *pkg, NSImage *image); | ||
|
||
@interface ATZScreenshotsStorage : NSObject | ||
|
||
+ (NSImage *)cachedImageForPackage:(ATZPackage*)package; | ||
+ (void)cacheImage:(NSImage *)image forPackage:(ATZPackage *)package; | ||
+ (void)fetchAndCacheImageForPackage:(ATZPackage*)package progress:(void(^)(CGFloat))progress completion:(ATZImagesStorageCompletion)completion; | ||
|
||
@end |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactor here appreciated (try to have max 3 levels of indentation)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh...actually I deleted these lines, as they were unused 😮
I don't like to keep dead code in project.