|
@@ -161,7 +161,7 @@ namespace GFGGame
|
|
Timers.inst.Remove(UpdateGuideRect);
|
|
Timers.inst.Remove(UpdateGuideRect);
|
|
_ui.m_comHolder.target.xy = _ui.m_mask.m_guideArea.xy;
|
|
_ui.m_comHolder.target.xy = _ui.m_mask.m_guideArea.xy;
|
|
|
|
|
|
- if (pos.x > GRoot.inst.width / 2)
|
|
|
|
|
|
+ if (logicScreenPos.x > GRoot.inst.width / 2)
|
|
{
|
|
{
|
|
_ui.m_comHolder.m_c1.selectedIndex = 0;//手在左边
|
|
_ui.m_comHolder.m_c1.selectedIndex = 0;//手在左边
|
|
}
|
|
}
|
|
@@ -174,13 +174,13 @@ namespace GFGGame
|
|
|
|
|
|
|
|
|
|
int padding = 200;
|
|
int padding = 200;
|
|
- if (pos.y < GRoot.inst.height - 700)
|
|
|
|
|
|
+ if (logicScreenPos.y < GRoot.inst.height - 700)
|
|
{
|
|
{
|
|
- _ui.m_compTxt.target.y = pos.y + padding;
|
|
|
|
|
|
+ _ui.m_compTxt.target.y = logicScreenPos.y + padding;
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- _ui.m_compTxt.target.y = pos.y - padding - _ui.m_compTxt.target.height;
|
|
|
|
|
|
+ _ui.m_compTxt.target.y = logicScreenPos.y - padding - _ui.m_compTxt.target.height;
|
|
}
|
|
}
|
|
if (compTxtY > 0)
|
|
if (compTxtY > 0)
|
|
{
|
|
{
|