feat: label alpha tweak for on-screen widgets

This commit is contained in:
TrueZhuanjia
2025-10-17 20:39:06 +08:00
parent 86a0ff46ee
commit 10ceac2ce3
7 changed files with 70 additions and 10 deletions
+1
View File
@@ -577,6 +577,7 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5;
[widgetView resizeWidgetView]; // resize must be called after relocation
[widgetView adjustTransparencyWithAlpha:buttonState.backgroundAlpha];
[widgetView adjustBorderWithWidth:buttonState.borderWidth];
[widgetView tweakLabelAlphaWithAlpha:buttonState.labelAlpha];
[widgetView setupAutoTapTimer];
}
}