try to reduce on-screen widget performance overheads

This commit is contained in:
TrueZhuanjia
2025-10-15 21:43:55 +08:00
parent a959a346b0
commit f8e14006c1
2 changed files with 96 additions and 101 deletions
@@ -819,7 +819,7 @@
// illustrating the indicator offset,
[self hideStickIndicators];
selectedWidgetView.touchBeganLocation = CGPointMake(CGRectGetWidth(selectedWidgetView.frame)/2, CGRectGetHeight(selectedWidgetView.frame)/4);
[selectedWidgetView showStickIndicator];// this will create the indicator CAShapeLayers
[selectedWidgetView showStickIndicator];
[self.stickIndicatorOffsetSlider setValue:self->selectedWidgetView.stickIndicatorOffset];
[self stickIndicatorOffsetSliderMoved:self.stickIndicatorOffsetSlider];
[self autoFitLabel:self.stickIndicatorOffsetLabel];