We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grate work! Thanks for your control.
I have found an issue - a MeterNeedle not rescaled when main MeterView has been rescaled.
I solved with next fix.
in method drawLayer: inContext: for MeterView change
and add next method into MeterView
-(void)setFrame:(CGRect)frame { [super setFrame:frame]; needleLayer.bounds = CGRectMake(0.0f, 0.0f, frame.size.width, frame.size.height); needleLayer.position = CGPointMake(needleLayer.bounds.size.width / 2.0, needleLayer.bounds.size.height / 2.0); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Grate work! Thanks for your control.
I have found an issue - a MeterNeedle not rescaled when main MeterView has been rescaled.
I solved with next fix.
in method drawLayer: inContext: for MeterView change
and add next method into MeterView
-(void)setFrame:(CGRect)frame
{
[super setFrame:frame];
needleLayer.bounds = CGRectMake(0.0f, 0.0f, frame.size.width, frame.size.height);
needleLayer.position = CGPointMake(needleLayer.bounds.size.width / 2.0, needleLayer.bounds.size.height / 2.0);
}
The text was updated successfully, but these errors were encountered: