Add missing icons + tweaks

Fixes/changes
- Compile error in input_bridge_v3.m
- Removed calls to end editing of text fields in CustomControlsViewController.m
- Simplified FlatLAF patch error
This commit is contained in:
khanhduytran0 committed 2022-11-25 19:52:54 +07:00
1 parent 2125c87f14
commit 99c9e05f1c
10 files changed
+39 -8

No files matched your search

@@ -23,7 +23,8 @@ public class UIKit {
// trigger static init
clazz.getField("isMacOS").get(null);
} catch (Throwable e) {
e.printStackTrace();
System.out.println("Skipped patch_FlatLAF_setLinux");
//e.printStackTrace();
}
System.setProperty("os.name", osName);
}
@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "icon.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

@@ -0,0 +1,12 @@
{
"images" : [
{
"filename" : "icon.png",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 1.1 KiB

-2
View File
@@ -1139,8 +1139,6 @@ CGFloat currentY;
}
- (void)closeTextField {
[self.editSizeWidth endEditing:YES];
[self.editSizeHeight endEditing:YES];
[self.editMapping endEditing:YES];
}
+12 -4
View File
@@ -53,7 +53,7 @@
}],
[LauncherMenuCustomItem
title:localize(@"login.menu.sendlogs", nil)
imageName:@"MenuSendLog" action:^{
imageName:@"square.and.arrow.up" action:^{
[self restoreHighlightedSelection];
NSString *latestlogPath = [NSString stringWithFormat:@"file://%s/latestlog.old.txt", getenv("POJAV_HOME")];
NSLog(@"Path is %@", latestlogPath);
@@ -117,9 +117,17 @@
}
cell.textLabel.text = [self.options[indexPath.row] title];
cell.imageView.contentMode = UIViewContentModeCenter;
cell.imageView.image = [UIImage imageNamed:[self.options[indexPath.row]
performSelector:@selector(imageName)]];
//cell.imageView.contentMode = UIViewContentModeScaleToFill;
if (@available(iOS 13.0, *)) {
cell.imageView.image = [UIImage systemImageNamed:[self.options[indexPath.row]
performSelector:@selector(imageName)]];
}
if (cell.imageView.image == nil) {
cell.imageView.layer.magnificationFilter = kCAFilterNearest;
cell.imageView.layer.minificationFilter = kCAFilterNearest;
cell.imageView.image = [UIImage imageNamed:[self.options[indexPath.row]
performSelector:@selector(imageName)]];
}
return cell;
}
+1 -1
View File
@@ -432,7 +432,7 @@ void CallbackBridge_nativeSendMouseButton(int button, int action, int mods) {
isPrepareGrabPos = true;
} else if (GLFW_invoke_MouseButton) {
if (mods == 0) {
mods = getKeyModifiers(key, action);
mods = getKeyModifiers(0, action);
}
if (isUseStackQueueCall) {