Skip to content

Commit

Permalink
MacGui: fix a typo and the progress bar that was already hidden after…
Browse files Browse the repository at this point in the history
… the last VoiceOver improvements.
  • Loading branch information
galad87 committed Dec 20, 2017
1 parent f0d14d0 commit 138c0d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions macosx/HBController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,7 @@ - (void)setQueueInfo:(NSString *)info progress:(double)progress hidden:(BOOL)hid
if (fRipIndicatorShown)
{
self.bottomConstrain.animator.constant = -WINDOW_HEIGHT_OFFSET;
fRipIndicator.hidden = YES;
fRipIndicatorShown = NO;

// Refresh the toolbar buttons
Expand All @@ -1075,6 +1076,7 @@ - (void)setQueueInfo:(NSString *)info progress:(double)progress hidden:(BOOL)hid
{
self.bottomConstrain.animator.constant = 0;
fRipIndicatorShown = YES;
fRipIndicator.hidden = NO;

// Refresh the toolbar buttons
[self.window.toolbar validateVisibleItems];
Expand Down
2 changes: 1 addition & 1 deletion macosx/HBPreviewView.m
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ - (NSString *)accessibilityLabel
{
if (self.image)
{
return [NSString stringWithFormat:NSLocalizedString(@"Previw Image Size: %zu x %zu, Scale: %.0f%%", nil), CGImageGetWidth(self.image), CGImageGetHeight(self.image), self.scale * 100];
return [NSString stringWithFormat:NSLocalizedString(@"Preview Image, Size: %zu x %zu, Scale: %.0f%%", nil), CGImageGetWidth(self.image), CGImageGetHeight(self.image), self.scale * 100];
}
return NSLocalizedString(@"No image", nil);
}
Expand Down

0 comments on commit 138c0d6

Please sign in to comment.