- c-module update
- minor fixes
This commit is contained in:
1 parent
e8349b2a6f
commit
ed39f85508
4 files changed
+6
-7
No files matched your search
@@ -3729,7 +3729,7 @@ import ObjectiveC.runtime
|
|||||||
widget.isUserInteractionEnabled = false
|
widget.isUserInteractionEnabled = false
|
||||||
if ((folder.buttonMode != .slideAndHold && widget.widgetType == .touchPad)
|
if ((folder.buttonMode != .slideAndHold && widget.widgetType == .touchPad)
|
||||||
|| abs(widget.backgroundAlpha) < 0.1){
|
|| abs(widget.backgroundAlpha) < 0.1){
|
||||||
widget.highlightBorder(highlighted: folder.animatesTransition, color: UIColor.systemBlue.cgColor)
|
widget.highlightBorder(highlighted: OnScreenWidgetView.enableFolderAnimation && folder.animatesTransition, color: OnScreenWidgetView.enableFolderAnimation ? UIColor.systemBlue.cgColor : UIColor.clear.cgColor)
|
||||||
}
|
}
|
||||||
let duration = (OnScreenWidgetView.enableFolderAnimation && folder.animatesTransition)
|
let duration = (OnScreenWidgetView.enableFolderAnimation && folder.animatesTransition)
|
||||||
? (folder.buttonMode == .slideAndHold ? 0.05 : widget.standardFoldingInterval)
|
? (folder.buttonMode == .slideAndHold ? 0.05 : widget.standardFoldingInterval)
|
||||||
@@ -3758,7 +3758,7 @@ import ObjectiveC.runtime
|
|||||||
widget.isHidden = false
|
widget.isHidden = false
|
||||||
if ((folder.buttonMode != .slideAndHold && widget.widgetType == .touchPad)
|
if ((folder.buttonMode != .slideAndHold && widget.widgetType == .touchPad)
|
||||||
|| abs(widget.backgroundAlpha) < 0.1){
|
|| abs(widget.backgroundAlpha) < 0.1){
|
||||||
widget.highlightBorder(highlighted: folder.animatesTransition, color: UIColor.systemBlue.cgColor)
|
widget.highlightBorder(highlighted: OnScreenWidgetView.enableFolderAnimation && folder.animatesTransition, color: OnScreenWidgetView.enableFolderAnimation ? UIColor.systemBlue.cgColor : UIColor.clear.cgColor)
|
||||||
}
|
}
|
||||||
UIView.animate(withDuration: (OnScreenWidgetView.enableFolderAnimation && folder.animatesTransition)
|
UIView.animate(withDuration: (OnScreenWidgetView.enableFolderAnimation && folder.animatesTransition)
|
||||||
? (folder.buttonMode == .slideAndHold ? 0.05 : widget.standardFoldingInterval)
|
? (folder.buttonMode == .slideAndHold ? 0.05 : widget.standardFoldingInterval)
|
||||||
|
|||||||
+1
-1
@@ -1562,7 +1562,7 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func clearSickInput() {
|
private func clearSickInput() {
|
||||||
if selectedWidget != nil && widgetViewSelected {
|
if selectedWidget != nil && widgetViewSelected && OnScreenWidgetView.gamepadArrivalReported {
|
||||||
OnScreenControls.shared()?.clearLeftStickTouchPadFlag()
|
OnScreenControls.shared()?.clearLeftStickTouchPadFlag()
|
||||||
OnScreenControls.shared()?.clearRightStickTouchPadFlag()
|
OnScreenControls.shared()?.clearRightStickTouchPadFlag()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -357,7 +357,6 @@ private struct InteractiveTextField: UIViewRepresentable {
|
|||||||
if uiView.isEnabled != isEnabled {
|
if uiView.isEnabled != isEnabled {
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
uiView.isEnabled = isEnabled
|
uiView.isEnabled = isEnabled
|
||||||
uiView.isUserInteractionEnabled = isEnabled
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
uiView.alpha = isEnabled ? 1.0 : 0.45
|
uiView.alpha = isEnabled ? 1.0 : 0.45
|
||||||
@@ -2462,7 +2461,7 @@ struct WidgetPickerView: View {
|
|||||||
.zIndex(20)
|
.zIndex(20)
|
||||||
}
|
}
|
||||||
|
|
||||||
//if true {
|
if true {
|
||||||
createWidgetSection(title: LocalizationHelper.localizedString(forKey: "Manually enter press duration in milliseconds")) {
|
createWidgetSection(title: LocalizationHelper.localizedString(forKey: "Manually enter press duration in milliseconds")) {
|
||||||
InteractiveTextField(
|
InteractiveTextField(
|
||||||
placeholder: LocalizationHelper.localizedString(forKey: ""),
|
placeholder: LocalizationHelper.localizedString(forKey: ""),
|
||||||
@@ -2472,7 +2471,7 @@ struct WidgetPickerView: View {
|
|||||||
.frame(height: fieldHeight)
|
.frame(height: fieldHeight)
|
||||||
}
|
}
|
||||||
.zIndex(40)
|
.zIndex(40)
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HStack(spacing: actionSpacing) {
|
HStack(spacing: actionSpacing) {
|
||||||
|
|||||||
Submodule moonlight-common/moonlight-common-c updated: 24c83a1a3b...ea507a137d.
Reference in new issue
Block a user