From 147b2ce0453a4e4d0426510ccb2836fdf02b8d13 Mon Sep 17 00:00:00 2001 From: TrueZhuangjia Date: Mon, 4 Nov 2024 20:06:23 +0800 Subject: [PATCH] tweak watermark position --- Limelight/ViewControllers/MainFrameViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 1609c374..0588c3ac 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -1024,7 +1024,7 @@ static NSMutableSet* hostList; [self.view addSubview:self->waterMark]; // Set up constraints [NSLayoutConstraint activateConstraints:@[ - [self->waterMark.centerXAnchor constraintEqualToAnchor:self.view.rightAnchor constant:-120], // Aligns the horizontal center of label to the horizontal center of view + [self->waterMark.centerXAnchor constraintEqualToAnchor:self.view.rightAnchor constant:-185], // Aligns the horizontal center of label to the horizontal center of view [self->waterMark.centerYAnchor constraintEqualToAnchor:self.view.bottomAnchor constant:-50], // Aligns the vertical center of label to the vertical center of view [self->waterMark.widthAnchor constraintEqualToConstant:500], // Sets the width of label to 200 points [self->waterMark.heightAnchor constraintEqualToConstant:60] // Sets the height of label to 50 points