visibility improvements
This commit is contained in:
1 parent
5fd8a7c587
commit
78be18ed89
5 files changed
+18
-6
No files matched your search
@@ -1402,7 +1402,7 @@ ICAgICAgICAgICAgICA
|
|||||||
<image name="arrow.left.square.fill" catalog="system" width="128" height="114"/>
|
<image name="arrow.left.square.fill" catalog="system" width="128" height="114"/>
|
||||||
<image name="arrow.uturn.backward" width="19.06089973449707" height="18.594499588012695"/>
|
<image name="arrow.uturn.backward" width="19.06089973449707" height="18.594499588012695"/>
|
||||||
<image name="plus.rectangle.fill.on.rectangle.fill" catalog="system" width="128" height="102"/>
|
<image name="plus.rectangle.fill.on.rectangle.fill" catalog="system" width="128" height="102"/>
|
||||||
<image name="rectangle.and.pencil.and.ellipsis" width="34.681900024414062" height="24.316600799560547"/>
|
<image name="rectangle.and.pencil.and.ellipsis" width="36.005599975585938" height="24.95680046081543"/>
|
||||||
<image name="square.and.arrow.down.fill" catalog="system" width="121" height="128"/>
|
<image name="square.and.arrow.down.fill" catalog="system" width="121" height="128"/>
|
||||||
<image name="trash.fill" catalog="system" width="117" height="128"/>
|
<image name="trash.fill" catalog="system" width="117" height="128"/>
|
||||||
<image name="tray.full.fill" catalog="system" width="128" height="88"/>
|
<image name="tray.full.fill" catalog="system" width="128" height="88"/>
|
||||||
|
|||||||
@@ -458,12 +458,11 @@ import UIKit
|
|||||||
CommandManager.mouseButtonMappings.keys.map { $0 as String },
|
CommandManager.mouseButtonMappings.keys.map { $0 as String },
|
||||||
CommandManager.touchPadCmds.map { $0 as String }
|
CommandManager.touchPadCmds.map { $0 as String }
|
||||||
]
|
]
|
||||||
.lazy // 零内存开销
|
.lazy
|
||||||
.flatMap { $0 } // 三维展开
|
.flatMap { $0 } // 三维展开
|
||||||
.map(String.init(describing:)) // 安全类型转换
|
.map(String.init(describing:)) // 安全类型转换
|
||||||
|
|
||||||
let keys = combinedStrings.joined(separator: "|")
|
let keys = combinedStrings.joined(separator: "|")
|
||||||
print(keys)
|
|
||||||
let pattern = "^(?:\(keys))(?:-(?:\(keys)))*(?:-\\d+MS)?$"
|
let pattern = "^(?:\(keys))(?:-(?:\(keys)))*(?:-\\d+MS)?$"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -104,11 +104,19 @@
|
|||||||
horizontalGuideline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self._view.frame.size.width * 2, 2)];
|
horizontalGuideline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self._view.frame.size.width * 2, 2)];
|
||||||
horizontalGuideline.backgroundColor = [UIColor blueColor];
|
horizontalGuideline.backgroundColor = [UIColor blueColor];
|
||||||
horizontalGuideline.hidden = YES;
|
horizontalGuideline.hidden = YES;
|
||||||
|
horizontalGuideline.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||||
|
horizontalGuideline.layer.shadowOffset = CGSizeMake(0, 0);
|
||||||
|
horizontalGuideline.layer.shadowOpacity = 0.5;
|
||||||
|
horizontalGuideline.layer.shadowRadius = 2;
|
||||||
[self._view addSubview: horizontalGuideline];
|
[self._view addSubview: horizontalGuideline];
|
||||||
|
|
||||||
verticalGuideline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 2, self._view.frame.size.height * 2)];
|
verticalGuideline = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 2, self._view.frame.size.height * 2)];
|
||||||
verticalGuideline.backgroundColor = [UIColor blueColor];
|
verticalGuideline.backgroundColor = [UIColor blueColor];
|
||||||
verticalGuideline.hidden = YES;
|
verticalGuideline.hidden = YES;
|
||||||
|
verticalGuideline.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||||
|
verticalGuideline.layer.shadowOffset = CGSizeMake(0, 0);
|
||||||
|
verticalGuideline.layer.shadowOpacity = 0.5;
|
||||||
|
verticalGuideline.layer.shadowRadius = 2;
|
||||||
[self._view addSubview: verticalGuideline];
|
[self._view addSubview: verticalGuideline];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -220,10 +220,13 @@
|
|||||||
}];
|
}];
|
||||||
});
|
});
|
||||||
trashCanStoryBoardColor = trashCanButton.tintColor;
|
trashCanStoryBoardColor = trashCanButton.tintColor;
|
||||||
|
self.toolbarRootView.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||||
|
self.toolbarRootView.layer.shadowOffset = CGSizeMake(0, 0);
|
||||||
|
self.toolbarRootView.layer.shadowOpacity = 0.5;
|
||||||
|
self.toolbarRootView.layer.shadowRadius = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- (void) viewDidAppear:(BOOL)animated {
|
- (void) viewDidAppear:(BOOL)animated {
|
||||||
OnScreenWidgetView.editMode = true;
|
OnScreenWidgetView.editMode = true;
|
||||||
selectedWidgetView = nil;
|
selectedWidgetView = nil;
|
||||||
|
|||||||
@@ -83,8 +83,9 @@ const double NAV_BAR_HEIGHT = 50;
|
|||||||
|
|
||||||
[self.tableView registerNib:[UINib nibWithNibName:@"ProfileTableViewCell" bundle:nil]
|
[self.tableView registerNib:[UINib nibWithNibName:@"ProfileTableViewCell" bundle:nil]
|
||||||
forCellReuseIdentifier:@"Cell"]; // Register the custom cell nib file with the table view
|
forCellReuseIdentifier:@"Cell"]; // Register the custom cell nib file with the table view
|
||||||
self.tableView.alpha = 0.5;
|
self.tableView.alpha = 0.7;
|
||||||
self.tableView.backgroundColor = [[UIColor colorWithRed:0.5 green:0.7 blue:1.0 alpha:1.0] colorWithAlphaComponent:0.2]; // set background color & transparency
|
//self.tableView.backgroundColor = [[UIColor colorWithRed:0.5 green:0.7 blue:1.0 alpha:1.0] colorWithAlphaComponent:0.2]; // set background color & transparency
|
||||||
|
self.tableView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.1]; // set background color & transparency
|
||||||
// self.tableView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.2]; // set background color & transparency
|
// self.tableView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.2]; // set background color & transparency
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -311,6 +312,7 @@ didPickDocumentsAtURLs:(NSArray<NSURL *> *)urls {
|
|||||||
cell.name.backgroundColor = [UIColor clearColor];
|
cell.name.backgroundColor = [UIColor clearColor];
|
||||||
cell.name.alpha = 1.0;
|
cell.name.alpha = 1.0;
|
||||||
cell.name.textColor = [UIColor whiteColor]; // Opaque white text
|
cell.name.textColor = [UIColor whiteColor]; // Opaque white text
|
||||||
|
cell.name.font =[UIFont systemFontOfSize:20 weight:UIFontWeightMedium];
|
||||||
cell.name.shadowColor = [UIColor blackColor]; // Black shadow
|
cell.name.shadowColor = [UIColor blackColor]; // Black shadow
|
||||||
// Set the shadow offset
|
// Set the shadow offset
|
||||||
cell.name.shadowOffset = CGSizeMake(1.0, 1.5);
|
cell.name.shadowOffset = CGSizeMake(1.0, 1.5);
|
||||||
|
|||||||
Reference in new issue
Block a user