From b562a582ac3a288193e6e4f57c5eff8a344305a4 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期五, 27 九月 2024 13:52:17 +0800
Subject: [PATCH] Update AndroidManifest.xml
---
HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs
index 1f0ce23..6bcd53a 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/SxqPage.cs
@@ -97,7 +97,7 @@
VerticalBoutonFLayout buttonFram = new VerticalBoutonFLayout();
buttonFram.AddView(fLayout);
buttonFram.Tag = sequencer;
- buttonFram.Y = Application.GetRealWidth(16) + Application.GetRealHeight((VerticalBoutonFLayout.heightFrameLayout + 16) * line);
+ buttonFram.Y = Application.GetRealWidth(16) + Application.GetRealHeight((VerticalBoutonFLayout.heightFrameLayout + 8) * line);
buttonFram.X = Application.GetRealWidth(16) + Application.GetRealWidth((VerticalBoutonFLayout.widthFrameLayout + 8) * xCount);
buttonFram.btnName.Text = sequencer.name;
xCount++;
@@ -108,7 +108,7 @@
}
buttonFram.SetONClickListener((fl, btn) =>
{
- if (buttonFram.Tag != null || buttonFram.Tag is SequencerEntity)
+ if (buttonFram.Tag != null && buttonFram.Tag is SequencerEntity)
{
var sequ = (SequencerEntity)buttonFram.Tag;
@@ -118,7 +118,7 @@
});
buttonFram.SetOFFClickListener((fl, btn) =>
{
- if (buttonFram.Tag != null || buttonFram.Tag is SequencerEntity)
+ if (buttonFram.Tag != null && buttonFram.Tag is SequencerEntity)
{
var sequ = (SequencerEntity)buttonFram.Tag;
SequencerControlExecute(sequ.seqId, "off");
@@ -127,7 +127,7 @@
}
- fLayout.AdjustRealHeight(16);
+ fLayout.AdjustRealHeight(8);
var list2 = this.sequencerList.FindAll((o) => o.type == 2);
for (int i = 0; i < list2.Count; i++)
@@ -151,7 +151,7 @@
btnName.MouseDownEventHandler += (sen, e) =>
{
btnName.IsSelected = true;
- if (btnName.Tag != null || btnName.Tag is SequencerEntity)
+ if (btnName.Tag != null && btnName.Tag is SequencerEntity)
{
var sequ = (SequencerEntity)btnName.Tag;
SequencerControlExecute(sequ.seqId, "on");
--
Gitblit v1.8.0