|
@@ -173,14 +173,14 @@ namespace GFGGame
|
|
_ui.m_compTxt.target.visible = !String.IsNullOrEmpty(txtContent);
|
|
_ui.m_compTxt.target.visible = !String.IsNullOrEmpty(txtContent);
|
|
|
|
|
|
|
|
|
|
- int padding = 200;
|
|
|
|
|
|
+ int padding = 100;
|
|
if (logicScreenPos.y < GRoot.inst.height - 700)
|
|
if (logicScreenPos.y < GRoot.inst.height - 700)
|
|
{
|
|
{
|
|
- _ui.m_compTxt.target.y = logicScreenPos.y + padding;
|
|
|
|
|
|
+ _ui.m_compTxt.target.y = logicScreenPos.y + _ui.m_comHolder.target.height + padding;
|
|
}
|
|
}
|
|
else
|
|
else
|
|
{
|
|
{
|
|
- _ui.m_compTxt.target.y = logicScreenPos.y - padding - _ui.m_compTxt.target.height;
|
|
|
|
|
|
+ _ui.m_compTxt.target.y = logicScreenPos.y - _ui.m_compTxt.target.height - padding;
|
|
}
|
|
}
|
|
if (compTxtY > 0)
|
|
if (compTxtY > 0)
|
|
{
|
|
{
|