中华联合和监控不在缩小图标

This commit is contained in:
ddisfriend
2024-09-10 16:58:27 +08:00
parent 68c4d51355
commit ac19826ef2
232 changed files with 8063 additions and 7876 deletions
@@ -11,7 +11,6 @@
#import "MATraceReplayOverlay+Addition.h"
#import <GLKit/GLKit.h>
#import <OpenGLES/ES2/gl.h>
#import <DDCategoryKit_Private/UIImage+DDCategory.h>
typedef struct _MADrawPoint {
float x;
@@ -53,7 +52,17 @@ typedef struct _MADrawPoint {
_patchLineRender = [[MAPolylineRenderer alloc] initWithPolyline:[traceOverlay getPatchPolyline]];
_patchLineRender.strokeColor = _proxyRender.strokeColors.lastObject;
_carImage = [UIImage dd_imageNamed:@"car_xingshi" bundleName:@"DDMAMapKit_Private" aClass:[self class]];
NSString *bundlePath = [[NSBundle bundleForClass:[self class]].resourcePath stringByAppendingPathComponent:@"DDMAMapKit_Private"];
NSString *bundleType = @".bundle";
if (![bundlePath hasSuffix:bundleType]) {
bundlePath = [bundlePath stringByAppendingString:bundleType];
}
NSBundle *sourceBundle = [NSBundle bundleWithPath:bundlePath];
if (sourceBundle == nil) {
return nil;
}
UIImage *image = [UIImage imageNamed:@"car_xingshi" inBundle:sourceBundle compatibleWithTraitCollection:nil];
_carImage = image;
}
return self;