Skip to content

Commit b1bbbf9

Browse files
committed
Change method for disabling icon jiggle when edit
1 parent aa2fb67 commit b1bbbf9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Speedster/Speedster.x

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,13 +403,15 @@ static double reverseFolderSliderValue(double input){
403403
%end
404404

405405
%hook SBIconView
406-
-(void)setAllowsEditingAnimation:(BOOL)arg1{//Icon editting jitter
407-
if (isNoiconshakingEnable){
408-
%orig(NO);
406+
407+
-(void)setEditingAnimationStrength:(CGFloat)arg1{
408+
if (isNoiconshakingEnable){
409+
%orig(0);
409410
}else{
410-
%orig;
411+
%orig(arg1);
411412
}
412413
}
414+
413415
%end
414416

415417
%ctor { //More pref

0 commit comments

Comments
 (0)