summaryrefslogtreecommitdiffstats
path: root/macosx/HBSummaryViewController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2019-03-06 09:08:44 +0100
committerDamiano Galassi <[email protected]>2019-03-06 09:08:44 +0100
commit29f21017840c16bd8cbb2c1664f96a1d139286f0 (patch)
treea9e277e4f5b2d4072f208a51156a6700822fe976 /macosx/HBSummaryViewController.m
parentb368b64dbb4d0d32c21e648c532180c87b35e94f (diff)
MacGui: use a stackview instead of constrains in the summary view to simplify hiding UI elements.
Diffstat (limited to 'macosx/HBSummaryViewController.m')
-rw-r--r--macosx/HBSummaryViewController.m11
1 files changed, 0 insertions, 11 deletions
diff --git a/macosx/HBSummaryViewController.m b/macosx/HBSummaryViewController.m
index 21128a38c..8e8f2208e 100644
--- a/macosx/HBSummaryViewController.m
+++ b/macosx/HBSummaryViewController.m
@@ -20,8 +20,6 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo
@interface HBSummaryViewController ()
-@property (nonatomic, strong) IBOutlet NSLayoutConstraint *bottomOptionsConstrain;
-
@property (nonatomic, strong) IBOutlet NSTextField *tracksLabel;
@property (nonatomic, strong) IBOutlet NSTextField *filtersLabel;
@property (nonatomic, strong) IBOutlet NSTextField *dimensionLabel;
@@ -46,7 +44,6 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo
if (self)
{
_labelColor = [NSColor disabledControlTextColor];
-
_previewViewController = [[HBPreviewViewController alloc] init];
}
return self;
@@ -117,14 +114,6 @@ static void *HBSummaryViewControllerSubsContext = &HBSummaryViewControllerSubsCo
}
else if (context == HBSummaryViewControllerContainerContext)
{
- if ([change[NSKeyValueChangeNewKey] integerValue] & 0x030000)
- {
- self.bottomOptionsConstrain.active = YES;
- }
- else
- {
- self.bottomOptionsConstrain.active = NO;
- }
[self updateTracks:nil];
}
else if (context == HBSummaryViewControllerVideoContext)