|
@@ -176,11 +176,11 @@ namespace GFGGame
|
|
|
int padding = 100;
|
|
|
if (logicScreenPos.y < GRoot.inst.height - 700)
|
|
|
{
|
|
|
- _ui.m_compTxt.target.y = logicScreenPos.y + _ui.m_comHolder.target.height + padding;
|
|
|
+ _ui.m_compTxt.target.y = logicScreenPos.y + _ui.m_comHolder.target.height + padding;//在下
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- _ui.m_compTxt.target.y = logicScreenPos.y - _ui.m_compTxt.target.height - padding;
|
|
|
+ _ui.m_compTxt.target.y = logicScreenPos.y - _ui.m_comHolder.target.height - _ui.m_compTxt.target.height - padding;//在上
|
|
|
}
|
|
|
if (compTxtY > 0)
|
|
|
{
|