disable color transition

master
esterTion 2020-04-13 11:57:28 +08:00
parent 1784b245d0
commit 1e63b29e4d
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@
[self.sliderIOView.layer addSublayer:ledBackground];
ledBackground.startPoint = CGPointMake(1,0);
ledBackground.endPoint = CGPointMake(0,0);
ledBackground.actions = [NSDictionary dictionaryWithObject:[NSNull null] forKey:@"colors"];
{
float pointOffset = 0;
float gapSmall = 1.0/16/8, gapBig = 1.0/16*6/8;