From be48a48704e57a21fbf52737814f5aad5f528284 Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Sat, 4 Apr 2026 02:53:06 +0800 Subject: [PATCH] bulk edit stacks fix --- VoidLink/Base.lproj/iPad.storyboard | 279 +++++++++--------- ...LayoutOnScreenControlsViewController.swift | 3 +- 2 files changed, 138 insertions(+), 144 deletions(-) diff --git a/VoidLink/Base.lproj/iPad.storyboard b/VoidLink/Base.lproj/iPad.storyboard index 80e17d88..dd8ba031 100644 --- a/VoidLink/Base.lproj/iPad.storyboard +++ b/VoidLink/Base.lproj/iPad.storyboard @@ -2626,7 +2626,7 @@ - + - - + + - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + @@ -3609,22 +3604,22 @@ - + - + - + - + - + diff --git a/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift b/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift index f339a183..b2446766 100644 --- a/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift +++ b/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift @@ -236,8 +236,6 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg vibrationGenerator = UIImpactFeedbackGenerator(style: .medium) widgetSizeTransition = .keepWidgetSize - bulkEditStacks = [bulkAlphaStack, bulkBorderAlphaStack, bulkLabelAlphaStack, bulkBorderWidthStack, bulkHighlightAlphaStack, bulkHighlightSizeStack] - DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) { [weak self] in guard let self else { return } UIView.animate( @@ -274,6 +272,7 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) + bulkEditStacks = [bulkAlphaStack, bulkBorderAlphaStack, bulkLabelAlphaStack, bulkBorderWidthStack, bulkHighlightAlphaStack, bulkHighlightSizeStack] OnScreenWidgetView.editMode = true selectedWidgetView = nil widgetPanelStoredCenter = widgetPanelStack.center